summaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-10-21 19:15:39 -0400
committerJesse Luehrs <doy@tozt.net>2013-10-21 19:16:50 -0400
commitf12bcf1c3049b45bb826146ff527b0e6ebe8cb98 (patch)
tree1b8a5b672e74b9702dbf77b14d9fd2fddd37caeb /vimrc
parente787a1f079b832b393627b7df863eff932b3ad4a (diff)
downloadconf-f12bcf1c3049b45bb826146ff527b0e6ebe8cb98.tar.gz
conf-f12bcf1c3049b45bb826146ff527b0e6ebe8cb98.zip
open the current fold when a buffer is opened
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index e3ca33f..cab8083 100644
--- a/vimrc
+++ b/vimrc
@@ -366,6 +366,9 @@ if $SHELL =~ 'zsh' && exists('g:_zsh_hist_fname')
endfunction
endif
" }}}
+" start with the current fold open {{{
+au BufEnter * normal zv
+" }}}
" Misc {{{
autocmd BufWritePost *conkyrc silent exe "!killall -HUP conky"
" }}}