Do not autorestore sessions because it's annoying
This commit is contained in:
parent
9a791c1c06
commit
b36f2ed307
1 changed files with 5 additions and 2 deletions
7
.vimrc
7
.vimrc
|
|
@ -1,3 +1,7 @@
|
||||||
|
" Source vimrc on vim startup
|
||||||
|
" autocmd! VimEnter * source ~/.vimrc
|
||||||
|
|
||||||
|
" Load rename plugin
|
||||||
" so ~/.vim/Rename.vim
|
" so ~/.vim/Rename.vim
|
||||||
|
|
||||||
" let g:EclimCompletionMethod = 'omnifunc'
|
" let g:EclimCompletionMethod = 'omnifunc'
|
||||||
|
|
@ -49,7 +53,6 @@ let g:syntastic_check_on_open = 1
|
||||||
let g:syntastic_check_on_wq = 0
|
let g:syntastic_check_on_wq = 0
|
||||||
" 3 errors is more than enough
|
" 3 errors is more than enough
|
||||||
let g:syntastic_loc_list_height=3
|
let g:syntastic_loc_list_height=3
|
||||||
|
|
||||||
nnoremap <F10> :SyntasticCheck mypy<CR>
|
nnoremap <F10> :SyntasticCheck mypy<CR>
|
||||||
" Set xptemplate trigger key to tab
|
" Set xptemplate trigger key to tab
|
||||||
let g:xptemplate_key = '<Tab>'
|
let g:xptemplate_key = '<Tab>'
|
||||||
|
|
@ -463,7 +466,7 @@ fu! RestoreSess()
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
autocmd VimLeave,BufWritePost * call SaveSess()
|
autocmd VimLeave,BufWritePost * call SaveSess()
|
||||||
autocmd VimEnter * nested call RestoreSess()
|
" autocmd VimEnter * nested call RestoreSess()
|
||||||
|
|
||||||
set updatetime=100
|
set updatetime=100
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue