diff --git a/lua/keymaps.lua b/lua/keymaps.lua index 78361e3..9700d3b 100644 --- a/lua/keymaps.lua +++ b/lua/keymaps.lua @@ -15,10 +15,10 @@ vim.keymap.set('n', 'e', vim.diagnostic.open_float, { desc = 'Open float vim.keymap.set('n', 'q', vim.diagnostic.setloclist, { desc = 'Open diagnostics list' }) -- Disable arrow keys in normal mode -vim.keymap.set('n', '', 'echo "Use h to move!!"') -vim.keymap.set('n', '', 'echo "Use l to move!!"') -vim.keymap.set('n', '', 'echo "Use k to move!!"') -vim.keymap.set('n', '', 'echo "Use j to move!!"') +vim.keymap.set({ 'n', 'v' }, '', 'echo "Use h to move!!"') +vim.keymap.set({ 'n', 'v' }, '', 'echo "Use l to move!!"') +vim.keymap.set({ 'n', 'v' }, '', 'echo "Use k to move!!"') +vim.keymap.set({ 'n', 'v' }, '', 'echo "Use j to move!!"') -- Keybinds to make split navigation easier. -- Use CTRL+ to switch between windows