fixing <C-l> shortcut

This commit is contained in:
a-rossetti 2025-01-17 15:36:53 +01:00
parent 56e244cb1a
commit fb6be9a8a9
1 changed files with 1 additions and 2 deletions

View File

@ -187,9 +187,8 @@ vim.keymap.set('n', '<down>', '<cmd>echo "Use j to move!!"<CR>')
-- Keybinds to make split navigation easier.
-- Use CTRL+<hjkl> to switch between windows
-- See `:help wincmd` for a list of all window commands
-- Unmap Ctrl+L from clearing the screen
vim.api.nvim_set_keymap('n', '<C-l>', '<Nop>', { noremap = true, silent = true })
vim.keymap.set('n', '<C-l>', '<Nop>', { noremap = true, silent = true })
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' })