Re: [CentOS] Colors in vi for user root

2008-03-12 Thread David G. Miller
Erek Dyskant <[EMAIL PROTECTED]> wrote: This was discussed previously soon after CentOS 5.0 was released. The > upstream distribution changed root from using vim (with syntax > highlighting) to using vi. With the 4.X versions root was using vim. > The 5.X configuration is: > > [EMAIL PROTE

Re: [CentOS] Colors in vi for user root

2008-03-09 Thread Johnny Hughes
Mário Gamito wrote: Hi, 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. And one last way if vim-enhanced is installed ... put this in the /root/.bashrc alias vi='vim' signatur

Re: [CentOS] Colors in vi for user root

2008-03-07 Thread Matt Shields
On Fri, Mar 7, 2008 at 6:42 AM, Mário Gamito <[EMAIL PROTECTED]> wrote: > Hi, > > 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. yum install vim-common vim-enhanced -- -matt

Re: [CentOS] Colors in vi for user root

2008-03-07 Thread cweisiger
do you have the vim-enhanced package installed? -- Original message from Charles E Campbell Jr <[EMAIL PROTECTED]>: -- > Mário Gamito wrote: > > > > How can I have vi with syntax hilghting for root ? > > Regular users have it, but not root's. > > > > I've seen the hidd

Re: [CentOS] Colors in vi for user root

2008-03-07 Thread Charles E Campbell Jr
Mário Gamito 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. 1. use vim instead of vi (vi is /bin/vi , which is usually a "tiny" vim with few features) 2. put into /root/.vim

Re: [CentOS] Colors in vi for user root

2008-03-07 Thread Rudi Ahlers
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 "v

Re: [CentOS] Colors in vi for user root

2008-03-07 Thread Ralph Angenendt
Mário Gamito wrote: > Hi, > > How can I have vi with syntax hilghting for root ? > Regular users have it, but not root's. :sy on also works for root, but the automatical stuff has been taken out of vim for the root user (too dangerous to automatically run stuff). Cheers, Ralph pgpBiwNrsmcKF.

Re: [CentOS] Colors in vi for user root

2008-03-07 Thread Tim Verhoeven
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" get

[CentOS] Colors in vi for user root

2008-03-07 Thread Mário Gamito
Hi, 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. Thanks in advance. Warm Regards, Mário Gamito ___ CentOS mailing list CentOS@centos.or