diff --git a/neovim/.config/nvim/lua/warrenhood/keybinds.lua b/neovim/.config/nvim/lua/warrenhood/keybinds.lua index a61b584..6dbe3b6 100644 --- a/neovim/.config/nvim/lua/warrenhood/keybinds.lua +++ b/neovim/.config/nvim/lua/warrenhood/keybinds.lua @@ -144,3 +144,11 @@ map('n', 'bw', 'BufferOrderByWindowNumber', barbar_opts) -- Other: -- :BarbarEnable - enables barbar (enabled by default) -- :BarbarDisable - very bad command, should never be used + + +-- Disable arrow keys +local arrows = {'', '', '', ''} +for i=1,#arrows do + map('n', arrows[i], function () end) + map('i', arrows[i], function () end) +end