.
This commit is contained in:
parent
7b66c99953
commit
8adae8f8a5
17 changed files with 800 additions and 866 deletions
|
|
@ -14,7 +14,8 @@ vim.keymap.set('n', ';', ':', { desc = 'Replace : by ;' })
|
|||
|
||||
vim.keymap.set('n', 'Q', ':noh<CR>')
|
||||
|
||||
vim.keymap.set('n', '<leader>w', ':w<CR>')
|
||||
vim.keymap.set('n', '<leader>ww', ':w<CR>', { desc = 'Save file' })
|
||||
vim.keymap.set('n', '<leader>wq', ':wq<CR>', { desc = 'Save and quit file' })
|
||||
|
||||
-- insert mode
|
||||
vim.keymap.set('i', '<C-h>', '<left>')
|
||||
|
|
@ -68,7 +69,7 @@ vim.keymap.set('t', '<Esc><Esc>', '<C-\\><C-n>', { desc = 'Exit terminal mode' }
|
|||
-- Use CTRL+<hjkl> to switch between windows
|
||||
--
|
||||
-- See `:help wincmd` for a list of all window commands
|
||||
vim.keymap.set('n', '<C-h>', '<C-w><C-h>', { desc = 'Move focus to the left window' })
|
||||
vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right 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-h>', '<C-w><C-h>', { desc = 'Move focus to the left window' })
|
||||
-- vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right 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' })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue