autosave on focus lost in vim
This commit is contained in:
parent
7d25432eef
commit
4d39b97998
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ set updatetime=300
|
|||
set nobackup
|
||||
set nowritebackup
|
||||
|
||||
autocmd FocusLost * silent! wall
|
||||
|
||||
" buffers can be switched despite having changes
|
||||
set hidden
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue