Help about colorscheme.

17 views
Skip to first unread message

shuda Li

unread,
Nov 21, 2010, 11:37:37 AM11/21/10
to v...@vim.org
I de-installed Vim72 by running the following command:

>sudo apt-get remove vim-tiny vim-runtime vim-gui-common vim-gnome vim-doc vim-dbg vim-common vim jvim-doc jvim-canna libvi-quickfix-perl libtext-vimcolor-perl vimhelp-de vim-vimoutliner vim-syntax-gtk vim-scripts vim-rails vim-puppet vim-nox vim-latexsuite vim-gtk vim-addon-manager

 and installed Vim 7.3 by compiling the source. Tho OS I use is Ubuntu 10.04. 

However, when I start Vim7.3 I found the colorscheme doen't work any more. I tried all choice in "Edit -> color schems".  Only the background color was applied see attached image. 

I wonder what's wrong with my new installation.

Best,
 
Shuda
Screenshot.png

Ivan S. Freitas

unread,
Nov 21, 2010, 12:51:06 PM11/21/10
to vim...@googlegroups.com, v...@vim.org
> However, when I start Vim7.3 I found the colorscheme doen't work any more. I
> tried all choice in "Edit -> color schems".  Only the background color was
> applied see attached image.
> I wonder what's wrong with my new installation.

Which options did you use to compile you vim? Also what colorscheme
are you trying to apply?

--
==============================================
Ivan Sichmann Freitas
Engenharia de Computação 2009
UNICAMP
http://identi.ca/ivansichmann
Grupo Pró Software Livre UNICAMP - GPSL
==============================================

Anurag Priyam

unread,
Nov 21, 2010, 1:16:37 PM11/21/10
to vim...@googlegroups.com, v...@vim.org
>> However, when I start Vim7.3 I found the colorscheme doen't work any more. I
>> tried all choice in "Edit -> color schems".  Only the background color was
>> applied see attached image.
>> I wonder what's wrong with my new installation.

Are you by any chance trying to restore a previous session (created in
vim 7.2)? It happened to me, when I upgraded to 7.3. I use a global
session for Vim, like firefox.

--
Anurag Priyam,
3rd Year Undergraduate,
Department of Mechanical Engineering,
IIT Kharagpur.
+91-9775550642

shuda Li

unread,
Nov 21, 2010, 2:55:09 PM11/21/10
to vim...@googlegroups.com
Here are the steps I install Vim7.3 on my ubuntu system

1)Download the vim-7.3.tar.bz2 
2)tar xvf vim-7.3.tar.bz2 
3)/configure --prefix= /user/defined/directory
4)make
5)make install

I tried Edit->color scheme-> blue on a cpp file (see the attachment) 




--
You received this message from the "vim_use" 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



--
Shuda Li
--------------------------------
PhD  Candidate
Computer Vision Group
Room 1.15
Merchant Venturers Building
Woodland Road
the University of Bristol
Bristol BS8 1UB
United Kingdom
---------------------------------
Email: cs...@bristol.ac.uk
            cs...@compsci.bristol.ac.uk
Office:    +44 (0)117 954 5629
Mobile : +44 (0)786 973 5073
Fax:       +44 (0)117 954 5208
---------------------------------


Screenshot1.png

Ivan S. Freitas

unread,
Nov 21, 2010, 3:29:02 PM11/21/10
to vim...@googlegroups.com
> 3)/configure --prefix= /user/defined/directory

Here may be the problem. I don't know the default vim compile option,
but maybe some feature is missing and it's causing the problem. See
./configure --help, but you may probably need to add
--with-features=huge to your ./configure line to be able to set your
colorscheme properly.


--
==============================================
Ivan Sichmann Freitas

Computer Engineering student
State University of Campinas (UNICAMP)
http://identi.ca/ivansichmann
==============================================

shuda Li

unread,
Nov 21, 2010, 5:53:59 PM11/21/10
to vim...@googlegroups.com
I reinstalled Vim7.3 using 

./configure --prefix= /user/defined/directory --with-features=huge
make
make install
However, the problem still exits. 

I de-installed Vim72 by running the following command:

>sudo apt-get remove vim-tiny vim-runtime vim-gui-common vim-gnome vim-doc vim-dbg vim-common vim jvim-doc jvim-canna libvi-quickfix-perl libtext-vimcolor-perl vimhelp-de vim-vimoutliner vim-syntax-gtk vim-scripts vim-rails vim-puppet vim-nox vim-latexsuite vim-gtk vim-addon-manager

 and installed Vim 7.3 by compiling the source. Tho OS I use is Ubuntu 10.04. 

However, when I start Vim7.3 I found the colorscheme doen't work any more. I tried all choice in "Edit -> color schems".  Only the background color was applied see attached image. 

I wonder what's wrong with my new installation.

Best,
 
Shuda



--
You received this message from the "vim_use" 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

pansz

unread,
Nov 21, 2010, 9:12:17 PM11/21/10
to vim_use
please try the following:

sudo apt-get build-dep vim

then re-compile your vim 7.3 and install it.

problem will solve.

bill lam

unread,
Nov 21, 2010, 10:31:12 PM11/21/10
to vim...@googlegroups.com
apt remove does not remove all traces. try this
sudo aptitide purge '~c'
before installing the new vim 7.3

--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3

bill lam

unread,
Nov 22, 2010, 4:37:23 AM11/22/10
to vim...@googlegroups.com
typo. should be aptitude

(I usually use tab completion and rarely type the whole word)

Brett Stahlman

unread,
Nov 22, 2010, 3:22:52 PM11/22/10
to vim_use
Are you sure you have...
syntax on
...in your .vimrc? If you don't have this command somewhere in your
startup, activating a specific colorscheme will change background
color, but you won't get language-specific syntax highlighting.

Sincerely,
Brett Stahlman

>
> Best,
>
> Shuda
>
>  Screenshot.png
> 277KViewDownload

shuda Li

unread,
Nov 23, 2010, 12:32:27 PM11/23/10
to vim...@googlegroups.com
Thank you Brett and rest of guys for your help!

I simply added 
syntax on
in my .vimrc as suggested by Brett. and the colorscheme start to work. 

Shuda

Reply all
Reply to author
Forward
0 new messages