On Wed, Jul 21, 2010 at 10:11 AM, duffman wrote:
> Hi,
>
> I tried to look up information online on this but wasn't able to find
> anything that worked.  I used Vi at my old job and loved the editing
> features it provided.  I've moved to a new place now and I am the only
> "developer" here.  I logged into a SunOS Unix box (bash shell) and
> while things work my vi editor looks very bland (no colors schemes and
> b&w) which makes reading and writing code difficult.  When I looked up
> info I found that I have to put the color coding information into
> my .vimrc file in my home directory.  I am in a corporation and under
> my home /home/myName I don't have a .vimrc file.  I found a sample one
> online that I copied but it didn't have any effect on my vi editor.  I
> also tried "syntax on" commands by vi said it wasn't recognized by vi.
>
> Can anyone please help make my vi editor colorful?
>
> Many thanks!

On a Solaris box, it's relatively unlikely that `vi' runs "vim".  You
can check by doing :version - that will either fail entirely (meaning
you're not running vim) or show a bunch of information including
"-syntax" (meaning you are using a vim binary, but that syntax
highlighting support wasn't compiled in).  Either way, the solution
will be to find a better package or compile vim from source.

~Matt

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui