From bb9d63abbddef01fd15405f786ea375516bdceff Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 29 Jun 2020 00:01:25 +0200 Subject: vim: load vimwiki when using goto command --- .vim/init.vim | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to '.vim/init.vim') diff --git a/.vim/init.vim b/.vim/init.vim index e2d6ca4..fa80da8 100644 --- a/.vim/init.vim +++ b/.vim/init.vim @@ -340,12 +340,7 @@ augroup SpecialBuffers au FileType gitmessengerpopup nmap (git-messenger-close) au FileType vista nmap :wincmd p au FileType help,qf,vista nmap q - - au FileType vimwiki - \ if filereadable(expand('%')) && line('$') == 1 && getline(1) == '' - \ | read !zet new - \ | endif - au FileType vimwiki Vista!! + " au FileType vimwiki call vista#sidebar#ToggleFocus() augroup END " augroup AutoSaveFolds -- cgit 1.4.1