next up previous contents index
Next: More about vi Up: vi Previous: Some ex Commands

The .exrc File

  Your can control your vi environment with the $HOME/.exrc file in your home directory. A sample .exrc file looks like this:

set number
set showmode

The file is read by ex before it enters the vi mode; commands in .exrc should not have a preceding colon.



Alan Silverman
Wed Apr 12 16:54:02 METDST 1995