Showing posts with label reload vimrc. Show all posts
Showing posts with label reload vimrc. Show all posts

Friday, October 30, 2009

Quick Exits

Hitting ZZ in normal mode will exit and save the current file. Hitting ZQ will exit without saving.

Tuesday, December 2, 2008

Right = Left

Here's a tip that's mostly for fun. Open up Vim and type :set rightleft.

This changes display orientation to right-to-left. This can be useful for editing Hebrew and Arabic or just for freaking people out.

Tuesday, November 25, 2008

Reload VIMRC

You can quickly and easily reload your vimrc with the following command.

:source $MYVIMRC

If you want to know what your current vimrc is, just do the following.

:echo $MYVIMRC