From be545eccf850abbf0734416052d6fdda1efc4330 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Wed, 26 Dec 2018 14:20:32 -0700 Subject: [PATCH] [vim] adjust fold settings --- .vimrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.vimrc b/.vimrc index bc42136..1887588 100644 --- a/.vimrc +++ b/.vimrc @@ -80,13 +80,13 @@ set lazyredraw " }}} " {{{ Folding -set foldclose=all " Close folds if you leave them in any way +" set foldclose=all " Close folds if you leave them in any way " set foldcolumn=1 " Show the foldcolumn " set foldenable " Turn on folding -set foldlevel=1 " Autofold everything by default +set foldlevel=3 set foldmethod=syntax " Fold on the syntax -set foldnestmax=1 " I only like to fold outer functions -set foldopen=all " Open folds if you touch them in any way +" set foldnestmax=1 " I only like to fold outer functions +" set foldopen=all " Open folds if you touch them in any way " }}} " Editing {{{