[CentOS] Colors in vi for user root

Ralph Angenendt ra+centos at br-online.de
Fri Mar 7 12:09:28 UTC 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20080307/990e71d7/attachment.sig>


More information about the CentOS mailing list