Disable Arrow keys to force myself to the Vim-Way of movement
This commit is contained in:
parent
5ff77c5bf3
commit
8ad23b6b61
@ -18,6 +18,17 @@ vim.g.maplocalleader = " "
|
|||||||
-- term_mode = "t",
|
-- term_mode = "t",
|
||||||
-- command_mode = "c",
|
-- command_mode = "c",
|
||||||
|
|
||||||
|
-- Disable Arrow keys to force myself to the Vim-Way of movement --
|
||||||
|
keymap("i", "<Up>", "<Nop>", opts)
|
||||||
|
keymap("i", "<Down>", "<Nop>", opts)
|
||||||
|
keymap("i", "<Left>", "<Nop>", opts)
|
||||||
|
keymap("i", "<Right>", "<Nop>", opts)
|
||||||
|
|
||||||
|
keymap("n", "<Up>", "<Nop>", opts)
|
||||||
|
keymap("n", "<Down>", "<Nop>", opts)
|
||||||
|
keymap("n", "<Left>", "<Nop>", opts)
|
||||||
|
keymap("n", "<Right>", "<Nop>", opts)
|
||||||
|
|
||||||
-- Remap some language specific stuff --
|
-- Remap some language specific stuff --
|
||||||
keymap("n", "ü", "{", opts)
|
keymap("n", "ü", "{", opts)
|
||||||
keymap("n", "<C-ü>", "<C-{>", opts)
|
keymap("n", "<C-ü>", "<C-{>", opts)
|
||||||
|
Loading…
Reference in New Issue
Block a user