I installed SpaceVim to test it out and ; (semicolon) is not working. :nmap ; says "No mapping found". The thing is I could not find where it is unmapped in the source. Are there different ways to re/un-map a key in vim and how should I go about finding those in general?
Figuring out why keybinding is not working in vim
450 views Asked by levant pied At
1
There seems to be some confusion here about the difference between the « standard » vim functionality and the effects of a mapping.
Standard vim keys are not mappings.
nto jump to next search match,Jto join,qto record a macro,;to repeat the lastfFtT—all are implemented in the source. Changing their default behavior would require an edit and recompile. This is why:normal! ;works no matter what—it ignores mappings and uses the source definition.So, to answer your question,
:map ;says there is no mapping because there is no mapping.Of course, one can always create mappings shadowing this behavior, but it’s considered an anti-pattern to do so (esp. without at least having another sequence to do the old behavior). The reasoning goes that the original is actually considered useful, so why override it?