summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2019-03-30 23:10:18 +1300
committerDavid Phillips <david@yeah.nah.nz>2019-03-31 22:11:31 +1300
commitde06c57886c70a5d55e1a5ac80033566705aaf1d (patch)
tree03436e024fc7d308b173eb2752db2fb799836c41
parent27b802561314ecae04e6ee128e444a69bb00f433 (diff)
downloaddotfiles-de06c57886c70a5d55e1a5ac80033566705aaf1d.tar.xz
vimrc: Better disable folds
-rw-r--r--vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index 51f2561..a309b4d 100644
--- a/vimrc
+++ b/vimrc
@@ -3,7 +3,7 @@ set cc=80,120
set number
set foldmethod=syntax
-set nofoldenable
+autocmd BufEnter * silent! %foldopen!
set autoindent
set tabstop=4