Skip to content

Instantly share code, notes, and snippets.

@dagda1
Created February 15, 2014 09:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dagda1/9016488 to your computer and use it in GitHub Desktop.
Save dagda1/9016488 to your computer and use it in GitHub Desktop.
augroup myvimrc
au!
au BufWritePost .vimrc,_vimrc,vimrc,.gvimrc,_gvimrc,gvimrc so $MYVIMRC | if has('gui_running') | so $MYGVIMRC | endif
augroup END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment