From 5abd7ac11cd7bc204b7e1a9c38e35e038f9c6b33 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Mon, 8 May 2017 01:13:35 +0200 Subject: Only allow top level folding by default --- vimrc-full | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc-full b/vimrc-full index 9fc1857..2b68c73 100644 --- a/vimrc-full +++ b/vimrc-full @@ -303,6 +303,7 @@ set foldcolumn=1 | " if code folding gets used display it in the cl set foldclose=all | " automatically fold, when the cursor leaves the folded area set foldopen=all | " unfold when cursor moves into the closed fold set foldtext=Foldtext() | " +set foldnestmax=1 | " top level folding only set relativenumber | " relative line numbers can speed up navigation set noshowmode | " because we are using some powerline derivat set nostartofline | " when scrolling: do not move the cursor to column 1 -- cgit v1.2.3