Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer 1

up vote 10 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
1  
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 at 3:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.