aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2017-03-16 12:52:31 +0100
committerDavid Runge <dave@sleepmap.de>2017-03-16 12:52:31 +0100
commite3a66ec6b61aab0d10cddd46568b3b0a300b06e4 (patch)
treeca8ef7d1098359662dcc4172d6735de0e1403992
parentcdedf0fed29afd7502d4819bd357415eed9512d6 (diff)
downloaddotfiles-e3a66ec6b61aab0d10cddd46568b3b0a300b06e4.tar.gz
dotfiles-e3a66ec6b61aab0d10cddd46568b3b0a300b06e4.tar.bz2
dotfiles-e3a66ec6b61aab0d10cddd46568b3b0a300b06e4.tar.xz
dotfiles-e3a66ec6b61aab0d10cddd46568b3b0a300b06e4.zip
.vimrc: Switching to foldmethod syntax and enabling folds by default.
-rw-r--r--.vimrc9
1 files changed, 6 insertions, 3 deletions
diff --git a/.vimrc b/.vimrc
index 4c345ca..4cf4ca0 100644
--- a/.vimrc
+++ b/.vimrc
@@ -68,9 +68,11 @@ set linebreak "Wrap lines at convenient points
" ================ Folds ============================
-set foldmethod=indent "fold based on indent
-set foldnestmax=3 "deepest fold is 3 levels
-set nofoldenable "dont fold by default
+set foldmethod=syntax
+set foldnestmax=3
+set foldenable
+set foldlevel=1
+
" ================ Completion =======================
@@ -122,3 +124,4 @@ so ~/.scvimrc
" colors
colorscheme pablo
+