Tim Verhoeven wrote:
On Fri, Mar 7, 2008 at 12:42 PM, Mário Gamito <[EMAIL PROTECTED]> 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

------------------------------------------------------------------------

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
That's if vim enhanced is installed. Otherwise just install it with yum install vim

--

Kind Regards
Rudi Ahlers
CEO, SoftDux

Web:   http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to