by alpaca128 · 5y ago · 0 comments
Little confession: I have no idea what e.g. the difference between "nmap" and "nnoremap" is. But after years of randomly mixing them in hundreds of bindings without a noticeable difference it doesn't seem to matter. Just use map, nmap, imap and vmap, avoid duplicates and everything will be fine imho.
The default behavior is to recursively expand and apply your mappings and "noremap" disables this recursion. For example if you do something like
:map j k
:map q j
:noremap w j
q is expanded to k, but w is expanded to j