diff options
author | Max Christian Pohle | 2017-05-08 01:13:35 +0200 |
---|---|---|
committer | Max Christian Pohle | 2017-05-08 01:13:35 +0200 |
commit | 5abd7ac11cd7bc204b7e1a9c38e35e038f9c6b33 (patch) | |
tree | a050a7c5dc2958a8e477e7336a536535604c05c8 /vimrc-full | |
parent | 7b3c4ed2593c1d69cf3175f1f7196a3b222976d0 (diff) | |
download | vim-karlmarks-5abd7ac11cd7bc204b7e1a9c38e35e038f9c6b33.tar.bz2 vim-karlmarks-5abd7ac11cd7bc204b7e1a9c38e35e038f9c6b33.zip |
Only allow top level folding by default
Diffstat (limited to 'vimrc-full')
-rw-r--r-- | vimrc-full | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -303,6 +303,7 @@ set foldcolumn=1 | " if code folding gets used display it in the cl | |||
303 | set foldclose=all | " automatically fold, when the cursor leaves the folded area | 303 | set foldclose=all | " automatically fold, when the cursor leaves the folded area |
304 | set foldopen=all | " unfold when cursor moves into the closed fold | 304 | set foldopen=all | " unfold when cursor moves into the closed fold |
305 | set foldtext=Foldtext() | " | 305 | set foldtext=Foldtext() | " |
306 | set foldnestmax=1 | " top level folding only | ||
306 | set relativenumber | " relative line numbers can speed up navigation | 307 | set relativenumber | " relative line numbers can speed up navigation |
307 | set noshowmode | " because we are using some powerline derivat | 308 | set noshowmode | " because we are using some powerline derivat |
308 | set nostartofline | " when scrolling: do not move the cursor to column 1 | 309 | set nostartofline | " when scrolling: do not move the cursor to column 1 |