September 2009
Beginner
942 pages
85h 34m
English
map
map[!] [string commands]Define a keyboard macro named string as the specified sequence of commands. string is usually a single character, or the sequence #num, representing a function key on the keyboard. Use a ! to create a macro for input mode. With no arguments, list the currently defined macros.
:map K dwwPTranspose two words:map q :w^M:n^MWrite current file; go to next:map! + ^[bi(^[ea)Enclose previous word in parentheses
vim has K and q commands, which the above aliases would hide.