[CentOS] Colors in vi for user root

Fri Mar 7 12:05:33 UTC 2008
Tim Verhoeven <tim.verhoeven.be at gmail.com>

On Fri, Mar 7, 2008 at 12:42 PM, Mário Gamito <gamito at gmail.com> 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 at gmail.com - 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)