# HG changeset patch # User Meredith Howard # Date 1403857308 14400 # Node ID 29dc361680716db9c6c09fd309281dfd52b1d2c3 # Parent 4f2a76fb28a3a4455f05e14dd311d37100d6d5a4 add endwise, disable auto comment leaders on newline diff --git a/.vimrc b/.vimrc --- 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