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
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
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
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
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
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
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.
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
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
9 matches
Mail list logo