August 2000
Intermediate to advanced
816 pages
29h 45m
English
map
map[!] [char commands]
Define a keyboard macro named char as the specified sequence of commands. char is usually a single character, or the sequence # n, 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
Read now
Unlock full access