If you ever have to work on one of those horrible MS/DOS or even worse a Microsoft WINDOWS system you can down load a read editor like VI or VIM and use it there instead of that god awfull shit Microsoft puts out. Get a copy of VI/VIM from www.simtel.net

here are the details on how to use the

.exrc
file which is contains commands that are executed each time vi or vim is run.

in the dos version of vim the .exrc file is named

_vimrc
and its assumed to be in the same directory that the executable program
vim.exe or vi.exe
in DOS if you store the executable vi.exe or vim.exe in
c:\windows\command
then place _vimrc in the same path of
c:\windows\command
and all the vi commands in _vimrc will be executed everytime you fire up vi or vim.

if your a meat head and wish to place _vimrc in a different path then where you place the executable vi.exe you have to tell vim the path with

set VIM=c:\stupid\path\to\find\vimrc\file

in this case vi or vim will search for _vimrc in c:\stupid\path\to\find\vimrc\file and if it finds _vimrc it will execute all the vim commands it finds in it

i usually put these commands in the _vimrc file

back to vim help page

Jump to the UNIX man pages UNIX manuals

Hosted by www.Geocities.ws

1