Tutorial by Examples

Add this to your $MYVIMRC: " Source vim configuration file whenever it is saved if has ('autocmd') " Remain compatible with earlier versions augroup Reload_Vimrc " Group name. Always use a unique name! autocmd! " Clear any preexisting autoc...
:autocmd BufWritePost * if &diff | diffupdate | endif

Page 1 of 1