" General setlocal cmdheight=1 setlocal colorcolumn=81 setlocal textwidth=80 " Document structuring nnoremap ;be i\begin{(<>)}\end{(<>)}kk^ nnoremap ;s i\section{}(<>)k$i " Text formatting inoremap ;b \textbf{}(<>)T{i inoremap ;i \textit{}(<>)T{i inoremap ;u \underline{}(<>)T{i inoremap ;e \emph{}(<>)T{i " Next section noremap .. /(<>)"_c4l " Enable/disable spell check noremap :setlocal spell spelllang=en_us,nl noremap :setlocal nospell " Start spell check when vim is run augroup SpellCheck autocmd! VimEnter * call feedkeys("\") augroup END