Re: Colors in vi for user root

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



Tim Verhoeven wrote:
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

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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
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@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