add endwise, disable auto comment leaders on newline

Fri, 27 Jun 2014 04:21:48 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 27 Jun 2014 04:21:48 -0400
changeset 83
29dc36168071
parent 82
4f2a76fb28a3
child 84
04dfcc1f5eb6
child 85
80df41e698be

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

mercurial