aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index cbff6128..6b34b5d4 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -139,6 +139,12 @@ set wildmenu " Use wildmenu
set wildmode=list:longest " Tab press completes and lists
silent! set wildignorecase " Case insensitive, if supported
+" Fold based on indent, but only when I ask
+if has('folding')
+ set foldlevelstart=99
+ set foldmethod=indent
+endif
+
" Don't load GUI menus; set here before GUI starts
if has('gui_running')
set guioptions+=M