Vim auto-source vimrc on save with symlink -


i have symlink points .vimrc 1 repo.

vim loads fine, can't auto-source upon being changed.

i have typical:

if has("autocmd")     autocmd! bufwritepost .vimrc source $myvimrc endif 

which works if vimrc not symlinked.

i have similar setup ~/.vimrc symlink git repository. following autocommand works me:

autocmd! bufwritepost .vimrc source % 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -