/usr/bin/vi (aka /bin/vi) supports syntax highlighting based on the file
extension of the file being edited. The files at
/usr/share/vim/vim60/syntax/*.vim define the highlighting (vim60 may vary
according to your version).
The very last line of my ~/.vimrc is 'syntax enable'. This does the
Thanks that worked
Dan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Charles Wilson
Sent: Friday, January 11, 2002 9:52 AM
To: [EMAIL PROTECTED]
Cc: Randall R Schulz; [EMAIL PROTECTED]
Subject: Re: vim and color
Dan Horne wrote:
> Hi
>
>
Dan Horne wrote:
> Hi
>
> term is set to xterm. If I do ls -l --color (or set the ls alias to do so),
> the listing is indeed in colour.
Because 'ls.exe' is less careful about emitting color codes than vim is.
You can even try this: within vim, type
:se term=rxvt
and the :r a file in.
R Schulz; [EMAIL PROTECTED]
Subject: Re: vim and color
Dan Horne wrote:
> Thanks Randall
>
> upon further investigation (and putting .vimrc in my home directory on not
> gvimrc doh) I've discovered that color-coding is working if I use the
> command window. However, if I us
Dan Horne wrote:
> Thanks Randall
>
> upon further investigation (and putting .vimrc in my home directory on not
> gvimrc doh) I've discovered that color-coding is working if I use the
> command window. However, if I use rxvt, I lose color and instead get text
> emphasis in bolds and underline
;m missing something but not
sure what.
Ideas appreciated
Dan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Randall R Schulz
Sent: Friday, January 11, 2002 9:13 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: vim and color
Dan,
Most likely all y
Dan,
Most likely all you need to know is where to put your color scheme files.
If you're doing it all from Vim's "rc" file, then you need to use the right
one: "~/.vimrc" / "$HOME/.vimrc". The Cygwin-hosted Vim is a non-GUI,
Unix-style Vim (just vim or vi), _not_ a GUI, stand-alone one (gvim).
7 matches
Mail list logo