José Toneh wrote:

>         I've upgraded to RedHat 9.0 and now it seems
> like vi doesn't indent anymore, which is weird.. I've
> tried ":set ai", ":set ai sw=4", the tabstop and
> shiftwidth are set in my .vimrc file; anybody else got
> that problem?

Make sure you use /usr/bin/vim and not /bin/vi - the latter 
is a minimal version which doesn't autoindent by default (or 
possibly at all - dunno, as I detest autoindenting!  Hence I 
always use /bin/vi)

dino:/home/jg 23$ ls -l /usr/bin/vim /bin/vi
-rwxr-xr-x    1 root     root       456108 Feb 12 12:44 /bin/vi
-rwxr-xr-x    1 root     root      1893740 Feb 12 12:44 /usr/bin/vim
dino:/home/jg 24$ 

I think at one time you'd get /usr/bin/vim automatically by typing
vi, by the magic of symlinks or an alias, maybe now in RH9 it
defaults to /bin/vi.

James


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to