diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-09 16:27:46 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-09 16:27:46 +1200 |
commit | 069c7f7bb8d146f8f70683c45f5e9275da6cdb6d (patch) | |
tree | 98d589464d50f038d94ef0bc66be3b8aa739e81e | |
parent | Check MYVIM more completely before adding to &rtp (diff) | |
download | dotfiles-069c7f7bb8d146f8f70683c45f5e9275da6cdb6d.tar.gz dotfiles-069c7f7bb8d146f8f70683c45f5e9275da6cdb6d.zip |
Add a bit more commentary on vimrc reloading
-rw-r--r-- | vim/vimrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -186,6 +186,9 @@ command! FileTypeReload " rewrite those parts to be idempotent, or to add load guards around them so " that they only run once. " +" Note that we reload the stub ~/.vimrc or ~/_vimrc file when either it or +" this main file is saved, using :doautocmd abstraction. +" if exists('##SourceCmd') autocmd vimrc SourceCmd $MYVIMRC \ source <afile> | FileTypeReload |