On Wed, Feb 13, 2002 at 11:30:10AM -0100, john-paul delaney wrote:
> 
> I'm using more & more the vi editor (vim 5?) that comes with my RH7.0
> but am finding the :help quite 'pithy' and would appreciate a little
> advice on this...

Run `rpm -qa | grep vim` to get the version of vim.
You should be using Vim 5.7 .

> I just want to set the command 
> :set sts=3 
> as default

I believe adding the following line to your .vimrc file should suffice:

set sts=3

> How to do this - (or better still, is there an easier document
> that explains this)?

I have O'Reilly's "vi Editor Pocket Reference" on my desk at all times.
I've also found the Vim website to be quite useful.

> What are the .vimrc and .exrc files?

.vimrc is the configuration file for vim. It should be in your home
directory. It's where you add all the settings you want by default.

ex is one of vim's mode but I've never heard of a .exrc file.

Emmanuel



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to