X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=blobdiff_plain;f=vim%2F.vimrc;h=65870e15898dbb90e865f205f409cbd3e267f61d;hp=9fff372e4007f8c59772f90eb80ea8850b14965a;hb=a20f37a39501c6cb94943a18a7f0e81c97dd6189;hpb=c597a1d86c60f1588df0470345976c2bd0686101 diff --git a/vim/.vimrc b/vim/.vimrc index 9fff372..65870e1 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -128,6 +128,11 @@ let g:netrw_banner = 0 let g:netrw_bufsettings = "noma nomod nowrap ro nobl" " }}} +" Unimpaired-like textwidth switching {{{ +nmap [ob :set textwidth=72 +nmap ]ob :set textwidth=0 +" }}} + " Often typos {{{ map q: : command! W w @@ -161,7 +166,6 @@ nmap :buffers:buffer nmap :registers nmap ' yiwciw""" nmap h1 yypVr=o -nmap 72 :set textwidth=72 nmap sc 024i-a >8 24a- nmap :vertical wincmd ] nnoremap