Brodie Rao committed 9e3b1bb

Tweak formatting options

  • Participants
  • Parent commits c3a5df7

Comments (0)

Files changed (1)

 " Pathogen
 let g:pathogen_disabled = ['pathogen']
 call pathogen#infect()
-call pathogen#helptags()
+filetype plugin indent on
 " General settings
 set autoread
 set autoindent
 set backspace=indent,eol,start " Smarter backspacing
 set expandtab
-set formatoptions=qrn1
+set formatoptions-=o
+set formatoptions+=n1j
+if has("autocmd")
+    autocmd FileType * setlocal formatoptions-=o
 set shiftround " Indent to multiples of shiftwidth
 set shiftwidth=4
 set smarttab
 let g:netrw_list_hide='\.orig$,\.~$,\.s?o$,\.py[cdo]$,\.swp$,\.prof$'
-" Enable automatic filetype and ft plugins
-filetype on
-filetype plugin on
-filetype indent on
 " Backups
 set undodir=~/.vim/tmp/undo//
 set backupdir=~/.vim/tmp/backup//