feat(keymap): move windows without `<C-w>` (#1368)
This commit is contained in:
		
							parent
							
								
									5e2d7e184b
								
							
						
					
					
						commit
						e947649cb0
					
				
							
								
								
									
										6
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										6
									
								
								init.lua
								
								
								
								
							|  | @ -194,6 +194,12 @@ vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right win | ||||||
| vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' }) | vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' }) | ||||||
| vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' }) | vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' }) | ||||||
| 
 | 
 | ||||||
|  | -- NOTE: Some terminals have coliding keymaps or are not able to send distinct keycodes | ||||||
|  | -- vim.keymap.set("n", "<C-S-h>", "<C-w>H", { desc = "Move window to the left" }) | ||||||
|  | -- vim.keymap.set("n", "<C-S-l>", "<C-w>L", { desc = "Move window to the right" }) | ||||||
|  | -- vim.keymap.set("n", "<C-S-j>", "<C-w>J", { desc = "Move window to the lower" }) | ||||||
|  | -- vim.keymap.set("n", "<C-S-k>", "<C-w>K", { desc = "Move window to the upper" }) | ||||||
|  | 
 | ||||||
| -- [[ Basic Autocommands ]] | -- [[ Basic Autocommands ]] | ||||||
| --  See `:help lua-guide-autocommands` | --  See `:help lua-guide-autocommands` | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Sander
						Sander