stillLearningVim <[email protected]> wrote:

> Is there a way to reload the vimrc (and other files), so that
> the changes in the vimrc take immediate effect. :e doesn't
> seem to do the trick.
>
> I'm editing my vimrc a lot, and I'm hoping there is an easier
> way than constantly closing and reopening everything.
>
> Any help and suggestions are appreciated
> Thanks


A nice trick is to add the following line in your ~/.vimrc
and your .vimrc will then be automatically re-sourced
whenever you save it:

au! BufWritePost .vimrc nested source %

-- Dominique

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to