|
|
|
|
|
by alpaca128
1854 days ago
|
|
The differences that actually matter are self explanatory: map is for all modes, imap for insert mode, nmap for normal mode and vmap for visual mode (& tmap for terminal mode in NeoVim). The rest can be safely ignored as far as I can tell. 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
q is expanded to k, but w is expanded to j