Re: Colors in vi for user root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Mar 7, 2008 at 12:42 PM, Mário Gamito <gamito@xxxxxxxxx> wrote:
>
>  How can I have vi with syntax hilghting for root ?
>  Regular users have it, but not root's.
>
>  I've seen the hidden files of a regular user home, but found nothing.

Do "vim file" instead of "vi file". As root "vi" gets you a standard
UNIX vi, "vim" gets you the enhanced vi with colors etc.

Regards,
Tim

-- 
Tim Verhoeven - tim.verhoeven.be@xxxxxxxxx - 0479 / 88 11 83

Hoping the problem  magically goes away  by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux