Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm relatively new to Vimperator and have started adding preferences to my .vimperatorrc file. Is there a way of reloading this file without having to restart Firefox?

share|improve this question
up vote 16 down vote accepted

You can load additions to your ~/.vimperatorrc with

:source ~/.vimperatorrc

Note if you removed some setting from your configuration file, after sourcing the new file the old option settings will still be in place if they are not overwritten with some new setting, since basically :source just runs the configuration file as if you would enter them at the prompt.

share|improve this answer
Excellent, thanks! – Charles Roper Mar 22 '10 at 16:55
Also, autocommand statements add up, but you can remove all of them using au! before reloading your .vimperratorrc. – blueyed Aug 26 '10 at 10:57
sourcing the file like this seems to only affect the current window, at least for key mappings. – devkev Jan 9 '14 at 3:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .