" Enable spell-checking :set spell " Create new commands gcX for doing sentence capitalization " (useful for cleaning up talk titles in web pages) if (&tildeop) nmap gcw guw~l nmap gcW guW~l nmap gciw guiw~l nmap gciW guiW~l nmap gcis guis~l nmap gc$ gu$~l nmap gcgc guu~l nmap gcc guu~l vmap gc gu~l else nmap gcw guw~h nmap gcW guW~h nmap gciw guiw~h nmap gciW guiW~h nmap gcis guis~h nmap gc$ gu$~h nmap gcgc guu~h nmap gcc guu~h vmap gc gu~h endif " Use width 4 tabstops and replace tab character with 4 spaces set tabstop=4 shiftwidth=4 expandtab