~gpanders/dotfiles

1d419cf0769d7b3211c52e4504b50b78b83d533c — Greg Anders a month ago b8446f8
[vim] Open journal file with all folds closed
1 files changed, 1 insertions(+), 0 deletions(-)

M .vim/plugin/journal.vim
M .vim/plugin/journal.vim => .vim/plugin/journal.vim +1 -0
@@ 16,6 16,7 @@ endfunction
augroup journal
    autocmd!
    autocmd BufRead $JOURNAL_FILE call s:entry()
    autocmd BufWinEnter $JOURNAL_FILE setlocal foldlevel=0
augroup END

command! -nargs=0 Journal edit +set\ ft=markdown $JOURNAL_FILE