You are not logged in.

#1 2013-06-28 23:01:20

A Random Panda
Member
Registered: 2013-06-25
Posts: 11

[SOLVED] Can't color schemes for text in vim

What I am trying to do is use this theme I found online called the wombat theme (http://dengmao.wordpress.com/2007/01/22 … me-wombat/). Now when I start vim in my bash I do this.

:colorscheme wom ("then I hit tab and it will finish to wombat")

But when I have my html document opened all the text is still white.

Any help would be great thanks.

Last edited by A Random Panda (2013-06-29 01:33:14)

Offline

#2 2013-06-28 23:11:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: [SOLVED] Can't color schemes for text in vim

Where did you save the colorscheme file?

Do other color schemes work?  If not, have you set syntax on? or t_Co?

Last edited by Trilby (2013-06-28 23:20:08)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-06-29 00:09:47

A Random Panda
Member
Registered: 2013-06-25
Posts: 11

Re: [SOLVED] Can't color schemes for text in vim

Ya when I change the color schemes it will change he vim background bout not the syntax colors.

Offline

#4 2013-06-29 00:17:20

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [SOLVED] Can't color schemes for text in vim

Trilby wrote:

If not, have you set syntax on?

A Random Panda wrote:

Ya when I change the color schemes it will change he vim background bout not the syntax colors.

Try this:

:syntax on

A Random Panda : https://wiki.archlinux.org/index.php/Vi … ghlighting

You should really read the entire wiki vim topic and learn how to use vim's builtin help if you want to use vim successfully.

Last edited by 2ManyDogs (2013-06-29 00:21:59)

Offline

#5 2013-06-29 00:27:40

A Random Panda
Member
Registered: 2013-06-25
Posts: 11

Re: [SOLVED] Can't color schemes for text in vim

Ya just did that and it didn't fix the problem index.html is still not showing colors.

Offline

#6 2013-06-29 00:35:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Can't color schemes for text in vim

At the very least, you should paste your .vimrc and details of the terminal you are using.
Please show some effort in assisting those that are trying to help you...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2013-06-29 01:09:58

A Random Panda
Member
Registered: 2013-06-25
Posts: 11

Re: [SOLVED] Can't color schemes for text in vim

Sorry I wasn't trying to be mean or anything. But I had no idea what the .vimrc file was. Anyways I did find the file in /etc/ and it was empty, all I found was comments.

/etc/vimrc

" All system-wide defaults are set in $VIMRUNTIME/archlinux.vim (usually just
" /usr/share/vim/vimfiles/archlinux.vim) and sourced by the call to :runtime
" you can find below.  If you wish to change any of those settings, you should
" do it in this file (/etc/vimrc), since archlinux.vim will be overwritten
" everytime an upgrade of the vim packages is performed.  It is recommended to
" make changes after sourcing archlinux.vim since it alters the value of the
" 'compatible' option.

" This line should not be removed as it ensures that various options are
" properly set to work with the Vim-related packages.
runtime! archlinux.vim

" If you prefer the old-style vim functionalty, add 'runtime! vimrc_example.vim'
" Or better yet, read /usr/share/vim/vim73/vimrc_example.vim or the vim manual
" and configure vim to your own liking!

Offline

#8 2013-06-29 01:18:25

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Can't color schemes for text in vim

You should follow 2ManyDogs' advice in #4 (the bit about reading that page and configuring vim accordingly)...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2013-06-29 01:32:42

A Random Panda
Member
Registered: 2013-06-25
Posts: 11

Re: [SOLVED] Can't color schemes for text in vim

Thank you very much 2ManyDogs. I read through the install and found out about gvim. Which fixed my color problem.

Offline

Board footer

Powered by FluxBB