aboutsummaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-12-23 19:40:40 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-12-23 19:40:40 +1300
commitec5357c4fd006ba4a1d01f8700b629092e459161 (patch)
treee0f50eb80f4eb420938b2f1ae3292f2402050ad4 /vim/vimrc
parentReshape autoloads into noun#Verb() pattern (diff)
downloaddotfiles-ec5357c4fd006ba4a1d01f8700b629092e459161.tar.gz
dotfiles-ec5357c4fd006ba4a1d01f8700b629092e459161.zip
Centralize default 'foldlevel'
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 7daa54b6..601341f0 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -466,6 +466,11 @@ set confirm
"
set noesckeys
+" Always start with 'foldlevel' set high enough to have all folds of any
+" practical depth open by default.
+"
+set foldlevel=256
+
" Automatic text wrapping options using flags in the 'formatoptions' option
" begin here. I rely on the filetype plugins to set the ‘t’ and ‘c’ flags for
" this option to configure whether text or comments should be wrapped, as