My vim configuration lives in $HOME/.vim/vimrc
, which is symlinked to ~/.vimrc
.
Inside my vimrc I have:
if has("autocmd")
autocmd bufwritepost vimrc source $HOME/.vim/vimrc
endif
But is not working. I also tried sourcing $MYVIMRC
.
Am I missing something?