change harpoon quick menu shortcut and add windows focus shortcut
This commit is contained in:
parent
53d2e40c07
commit
6f139d280b
2 changed files with 6 additions and 1 deletions
|
|
@ -17,6 +17,11 @@ vim.keymap.set('n', 'Q', ':noh<CR>')
|
|||
vim.keymap.set('n', '<leader>w', ':w<CR>', { desc = 'Save file' })
|
||||
vim.keymap.set('n', '<leader>q', ':q<CR>', { desc = 'Quit' })
|
||||
|
||||
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Moves focus to upper window' })
|
||||
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Moves focus to lower window' })
|
||||
vim.keymap.set('n', '<C-h>', '<C-w><C-h>', { desc = 'Moves focus to left window' })
|
||||
vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Moves focus to right window' })
|
||||
|
||||
-- insert mode
|
||||
vim.keymap.set('i', '<C-h>', '<left>')
|
||||
vim.keymap.set('i', '<C-j>', '<down>')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue