Fri, 27 Jun 2014 04:21:48 -0400
add endwise, disable auto comment leaders on newline
.vimrc | file | annotate | diff | comparison | revisions |
--- a/.vimrc +++ b/.vimrc @@ -63,6 +63,7 @@ end Plugin 'godlygeek/tabular' Plugin 'tomtom/tcomment_vim' Plugin 'tpope/vim-unimpaired' + Plugin 'tpope/vim-endwise' Plugin 'danchoi/ri.vim' Plugin 'tpope/vim-fugitive' @@ -133,6 +134,9 @@ set expandtab set shiftwidth=2 set softtabstop=2 +" apparently you have to go out of your way to make this stick +autocmd BufNewFile,BufRead * setlocal formatoptions-=ro + set backspace=indent,eol,start "set nu