[CentOS] Colors in vi for user root
cweisiger at bellsouth.net
cweisiger at bellsouth.net
Fri Mar 7 14:36:43 UTC 2008
do you have the vim-enhanced package installed?
-------------- Original message from Charles E Campbell Jr <charles.e.campbell at nasa.gov>: --------------
> 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 :
> set nocp
> filetype plugin on
> syn on
>
> Regards,
> Chip Campbell
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080307/92a3fe87/attachment.html>
More information about the CentOS
mailing list