Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VI Question

Status
Not open for further replies.

dmachado

Programmer
Mar 4, 2002
14
0
0
US
Hi All,

I am running RedHat 7.2 and was wondering if anyone can tell me how to custom configure parameters and save them. I would like to save tabstop settings and change tabs to spaces.

Thanks in advance,

Don
 
The configuration file is ~/.exrc, which is read by vi and most clones. (If you're using vim, you can also use ~/.vimrc.) Any set commands and such that you put in this file will be run on startup. Mine contains (from memory):
set tabstop=4
set number
set showmode
For specifics on the settings available, you should consult the man page or similar documentation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top