Browse Source

use syntax folds but do not collapse on open

Kyle P Davis 10 years ago
parent
commit
c7b982ad9e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .vimrc

+ 4 - 0
.vimrc

@@ -24,6 +24,10 @@ vmap <S-Tab> <
 nmap <S-Tab> <<
 imap <S-Tab> <Esc><<i
 
+" folds
+set foldmethod=syntax
+set foldlevelstart=99
+
 " coping to Mac OS X clipboard (kinda)
 vmap <C-c> :w !pbcopy<CR><CR>