diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-09-17 14:58:28 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-09-17 14:58:28 -0300 |
commit | 1cf31e1de7d5993a13b2dac01a22b317e6ffd72a (patch) | |
tree | 50ffd3b4b775230aadc01aa34451ef423a250af9 /vimrc.dot.link | |
parent | 4c232f68c4c122ef0c79d101b0a6dee035ebd117 (diff) | |
download | vim-1cf31e1de7d5993a13b2dac01a22b317e6ffd72a.tar.gz vim-1cf31e1de7d5993a13b2dac01a22b317e6ffd72a.tar.bz2 |
Autoread
Diffstat (limited to 'vimrc.dot.link')
-rw-r--r-- | vimrc.dot.link | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vimrc.dot.link b/vimrc.dot.link index 82b7692..64229f0 100644 --- a/vimrc.dot.link +++ b/vimrc.dot.link @@ -201,3 +201,10 @@ nmap 0 10gt " Buffer navigation: Alt-{Up,Down} map Od :bprevious<CR> map Oc :bnext<CR> + +" See +" http://vim.wikia.com/wiki/Have_Vim_check_automatically_if_the_file_has_changed_externally +" http://stackoverflow.com/questions/2490227/how-does-vims-autoread-work +" http://stackoverflow.com/questions/2490227/how-does-vims-autoread-work +"au FocusGained,BufEnter * :silent! ! +"au FocusLost,WinLeave * :silent! w |