1
0
Fork 0
mirror of synced 2024-06-16 05:51:11 -04:00

Fix autoreload file from external change.

- Adds au FocusGained,BufEnter * checktime to actually trigger the
reload.
- set autoread on its own isnt enough.
This commit is contained in:
Rahul De 2018-08-10 16:33:38 +02:00
parent 587a185a98
commit 94c3cd2710
No known key found for this signature in database
GPG key ID: 4435E700B66BA90F

View file

@ -39,6 +39,7 @@ filetype indent on
" Set to auto read when a file is changed from the outside " Set to auto read when a file is changed from the outside
set autoread set autoread
au FocusGained,BufEnter * checktime
" With a map leader it's possible to do extra key combinations " With a map leader it's possible to do extra key combinations
" like <leader>w saves the current file " like <leader>w saves the current file