diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-04-02 00:33:06 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-04-02 00:33:06 +0200 |
commit | d32ed10607e5b5b014437084ae9c545481ae5b1e (patch) | |
tree | ea595d317011a2ab8c7d900c01f45bf6a3fde523 /dotfiles | |
parent | Dotfiles: Nvim: Add TODOs (diff) | |
download | nixos-config-d32ed10607e5b5b014437084ae9c545481ae5b1e.tar.gz nixos-config-d32ed10607e5b5b014437084ae9c545481ae5b1e.tar.bz2 nixos-config-d32ed10607e5b5b014437084ae9c545481ae5b1e.zip |
Dotfiles: Nvim: Disable arrow key navigation
Diffstat (limited to 'dotfiles')
-rw-r--r-- | dotfiles/nvim/init.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dotfiles/nvim/init.lua b/dotfiles/nvim/init.lua index 72fa67b..9584968 100644 --- a/dotfiles/nvim/init.lua +++ b/dotfiles/nvim/init.lua @@ -176,10 +176,10 @@ vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagn vim.keymap.set('t', '<Esc><Esc>', '<C-\\><C-n>', { desc = 'Exit terminal mode' }) -- TIP: Disable arrow keys in normal mode --- vim.keymap.set('n', '<left>', '<cmd>echo "Use h to move!!"<CR>') --- vim.keymap.set('n', '<right>', '<cmd>echo "Use l to move!!"<CR>') --- vim.keymap.set('n', '<up>', '<cmd>echo "Use k to move!!"<CR>') --- vim.keymap.set('n', '<down>', '<cmd>echo "Use j to move!!"<CR>') +vim.keymap.set('n', '<left>', '<cmd>echo "Use h to move!!"<CR>') +vim.keymap.set('n', '<right>', '<cmd>echo "Use l to move!!"<CR>') +vim.keymap.set('n', '<up>', '<cmd>echo "Use k to move!!"<CR>') +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 |