I usually edit my files in gVim when developing. Sometimes I need to do a quick tweak in my .vimrc or in some plugins (like snipMate). To do this, I open a terminal, open vim and edit my .vimrc or my plugin.
(Why do I do that, opening .vimrc in a different window? I don't like to mix configuration files with project files when I'm at gvim, it's a matter of preference.)
I would like to have these modifications available at my already opened gVim without restarting it - automatically.
So, my question is: how do I automatically load my .gvimrc/.vimrc after editing it in an already opened gVim session? I use snipmate plugin, is it possible to create a snippet and use it right away as well?
I'm already using this solution
augroup myvimrchooks
au!
autocmd bufwritepost .vimrc source $HOME/.vim/.vimrc
augroup END
It works, but not in the first scenario I described. Any ideas in how can I do it? Thanks!