A. Pagaltzis writes: > * David Golden <[EMAIL PROTECTED]> [2006-08-09 05:25]: > > > map <silent> ,V :source $VIMRC<CR>:filetype detect<CR>:exe ":echo 'vimrc > > reloaded'"<CR> > > Seems like way too much commotion to me. I just say > > :so %
That only works if your .vimrc is still in the current window. It's no use if, for example, you've just used a different instance of Vim to edit .vimrc and now wish to reload it in some other Vim. > Always works, whether I have my .vimrc on that machine or not. Eh? How can you reload a .vimrc that's on a different machine. > That `%` expands to the filename for the active buffer. Very handy to > know about. Indeed: :!cvs dif % :lcd %:h Smylers
