On Tuesday 22 February 2005 17:49, Jesus M. Rodriguez wrote:
> I put alias ls='ls --color=tty -F' in my $HOME/.bashrc file.
>
> In vim, there should've been a file installed in /etc/vimrc.
> In that file the following exists:
>
> " Switch syntax highlighting on, when the terminal has colors
> " Also switch on highlighting the last used search pattern.
> if &t_Co > 2 || has("gui_running")
> syntax on
> set hlsearch
> endif
>
> Jesus Rodriguez
>
>
I do have those lines in /etc/vimrc but it is still all white when I sudo vi a
file? What changes when sudo? Does it not pull from the global config
in /etc/vimrc?
H. Crissman
--
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc