Creating multiple vi environments

You can have several vi environments, each of which is different from the other. For example you might want a vi environment for writing C code and another for writing troff source files.

This is done by placing a different .exrc file in each directory that you use vi in. Each .exrc file contains set option commands to create the type of vi environment you want while editing files in this directory.


[Home] [Search] [Index] This site maintained by unixhelp@mathcs.duq.edu