You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our remapping is currently recursive mapping, done in vim with :map. For instance, if you map j to jj, then VSCodeVim will go into an infinite loop and die when you press j.
More generally useful is nonrecursive mapping, done in vim with :noremap. If you nonrecursively map j to jj, then pressing j just acts as if you had pressed j twice instead.
Non-recursive mapping is actually not hard at all to do; I suspect it will be less than 20 lines of code. I only marked it as medium because ya gotta know where those lines of code go.
The text was updated successfully, but these errors were encountered:
Our remapping is currently recursive mapping, done in vim with
:map
. For instance, if you map j to jj, then VSCodeVim will go into an infinite loop and die when you press j.More generally useful is nonrecursive mapping, done in vim with
:noremap
. If you nonrecursively map j to jj, then pressing j just acts as if you had pressed j twice instead.Non-recursive mapping is actually not hard at all to do; I suspect it will be less than 20 lines of code. I only marked it as medium because ya gotta know where those lines of code go.
The text was updated successfully, but these errors were encountered: