:mappingcommand [special arguments] {lhs} {rhs} example: " this sets F3 to toggle line wrapping :map <F3> :set wrap!<CR>
:map (Normal, Visual+Select, Operator-Pending) :nmap (Normal, when vim is waiting for any key to be a command) :vmap (Visual, when a visual selection has begun) :omap (Operator-pending mode, after "d", "y", "c", etc...) :imap (Insert mode, when you are typing characters) :cmap (Command-line mode, when entering a ":" or "/" command)
unmap nunmap vunmap ounmap iunmap cunmap
:map
:set verbose=1 :map