Allow arrow keys only in insert mode? #68
-
I am trying to allow the arrow keys only if in insert mode. But whatever I do, I keep being blocked, how would you achieve that? Here is my hardtime config for reference. Also, could you please clarify what disabled_keys = {
["<Up>"] = { "", "i" },
["<Down>"] = { "", "i" },
["<Left>"] = { "", "i" },
["<Right>"] = { "", "i" },
}, Thank you very much for this great plugin, I'm using it since your first post on Reddit and it really removed a lot of bad habits. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
First of all thanks for the feedback! Here's the help files to help you understand
In the default config That being said, If you only want to allow the key in insert mode, you can just set it to |
Beta Was this translation helpful? Give feedback.
First of all thanks for the feedback!
Here's the help files to help you understand
""
and"i"
::h nvim_set_keymap()
:h map-table