" Comment: Macros for writing linuxdoc-sgml documents with the vim editor " They work both in insert mode and normal mode. Type ;ss to " get , etc. If you type it too slow, it doesn't work. Put " these into the initialization file: .vimrc :nmap ;sr i :imap ;sr :nmap ;ss i :imap ;ss :nmap ;st i :imap ;st :nmap ;i i :imap ;i :nmap ;j i :imap ;j :nmap ;k i :imap ;k :nmap ;p i

:imap ;p

:imap ;tt 3ba " ;tu encloses a long word in while ;tt does it for a short word ":nmap ;tu EaBi ":imap ;tu BiEa ":nmap ;tt ea/bi ":imap ;tt bi