From b36f2ed3072c1574e04f9ec74b8bcc94113c4ab5 Mon Sep 17 00:00:00 2001 From: viktorbarzin Date: Thu, 12 Mar 2020 14:53:42 +0000 Subject: [PATCH] Do not autorestore sessions because it's annoying --- .vimrc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index 5315cc3..b85bd89 100644 --- a/.vimrc +++ b/.vimrc @@ -1,3 +1,7 @@ +" Source vimrc on vim startup +" autocmd! VimEnter * source ~/.vimrc + +" Load rename plugin " so ~/.vim/Rename.vim " let g:EclimCompletionMethod = 'omnifunc' @@ -49,7 +53,6 @@ let g:syntastic_check_on_open = 1 let g:syntastic_check_on_wq = 0 " 3 errors is more than enough let g:syntastic_loc_list_height=3 - nnoremap :SyntasticCheck mypy " Set xptemplate trigger key to tab let g:xptemplate_key = '' @@ -463,7 +466,7 @@ fu! RestoreSess() endfunction autocmd VimLeave,BufWritePost * call SaveSess() -autocmd VimEnter * nested call RestoreSess() +" autocmd VimEnter * nested call RestoreSess() set updatetime=100