O'Reilly logo

Hacking Vim 7.2 by Kim Schulz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A vimrc setup system

When you use Vim, you will normally have to open up a configuration file in order to change the settings permanently. You can change all of them from within Vim, but after closing Vim, all of the settings are lost again.

But what if you had a system in Vim such that you could go into a settings menu, and the changes you made there were permanent for the system (until you change them again!)? This is actually possible with a little help from some Vim scripts created by Jos van RisWick.

By using his script, and creating your vimrc file using his special syntax, you can make it possible not only to make local changes permanent, but also to change the values in an easy-to-use settings wizard.

This is achieved by using the comments ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required