1
0
Fork 0
mirror of synced 2024-11-22 00:35:35 -05:00

Fix autoreload file from external change. (#451)

- Adds au FocusGained,BufEnter * checktime to actually trigger the
reload.
- set autoread on its own isnt enough.
This commit is contained in:
Rahuλ Dé 2019-11-16 17:08:22 +01:00 committed by Amir Salihefendic
parent 600b709fc8
commit ce77db52b0

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