diff --git a/home/.config/nvim/init.vim b/home/.config/nvim/init.vim index 20570b6..5704b9c 100644 --- a/home/.config/nvim/init.vim +++ b/home/.config/nvim/init.vim @@ -18,6 +18,7 @@ set mouse=a " enable mouse click set cursorline " highlight current cursorline set ttyfast " Speed up scrolling in Vim set fdm=syntax " foldingmethod syntax +set foldlevel=10 " only fold when a certain complexity is reached by default. This applies only at startup. "set spell " enable spell check (may need to download language package) set timeout timeoutlen=400 diff --git a/home/.config/nvim/noplug.vim b/home/.config/nvim/noplug.vim index 1687735..8859a8c 100644 --- a/home/.config/nvim/noplug.vim +++ b/home/.config/nvim/noplug.vim @@ -18,6 +18,7 @@ set mouse=a " enable mouse click set cursorline " highlight current cursorline set ttyfast " Speed up scrolling in Vim set fdm=syntax " foldingmethod syntax +set foldlevel=10 " only fold when a certain complexity is reached by default. This applies only at startup. "set spell " enable spell check (may need to download language package) set timeout timeoutlen=400 diff --git a/home/.vimrc b/home/.vimrc index 0a572e0..39a8df1 100644 --- a/home/.vimrc +++ b/home/.vimrc @@ -18,6 +18,7 @@ set mouse=a " enable mouse click set cursorline " highlight current cursorline set ttyfast " Speed up scrolling in Vim set fdm=syntax " foldingmethod syntax +set foldlevel=10 " only fold when a certain complexity is reached by default. This applies only at startup. "set spell " enable spell check (may need to download language package) set timeout timeoutlen=400