Browse Source

Update vim configuration: add code folding parameters

Emmanuel Bouthenot 13 years ago
parent
commit
9432c8d534
1 changed files with 9 additions and 0 deletions
  1. 9 0
      .vim/vimrc

+ 9 - 0
.vim/vimrc

@@ -167,6 +167,15 @@ set incsearch "incremental searches
 set ignorecase "ignore case in search patterns
 set infercase "smart case support
 
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" Code folding
+"
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+set foldmethod=indent   "fold based on indent
+set foldnestmax=10      "deepest fold is 10 levels
+set nofoldenable        "dont fold by default
+set foldlevel=1
+
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 " Email Settings
 "