From ec5357c4fd006ba4a1d01f8700b629092e459161 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 23 Dec 2019 19:40:40 +1300 Subject: Centralize default 'foldlevel' --- vim/vimrc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vim/vimrc') 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 -- cgit v1.2.3