Why is it "highly recommended" to set keymaps with "vim.normalModeKeyBindings" via settings.json instead of keybindings.json? #9228
Replies: 2 comments
-
I have same question, more for curiosity. |
Beta Was this translation helpful? Give feedback.
-
This is because VSCodeVim doesn't have knowledge of what you've defined in keybindings.json, so it can't use those actions to perform more complicated actions. For instance, if you use keybindings.json to remap a to deleting a line, and then you do |
Beta Was this translation helpful? Give feedback.
-
The documentation states "It is highly recommended to remap keys using vim commands like "vim.normalModeKeyBindings"": can anyone explain why this is? Is it just to avoid the verbosity of keybindings.json? I am tempted to ignore this advice if that is the only reason, but want to make sure I'm not missing anything in the docs that explains why this matters.
Beta Was this translation helpful? Give feedback.
All reactions