You are not logged in.

#1 2010-04-15 20:35:29

Agurken
Member
Registered: 2010-01-31
Posts: 61

Changing colors in vim

Hi guys.

How can i change the colors in vim, so they fx would look like this: http://www.ubuntu-pics.de/bild/32870/sc … 58ONYp.png

But without changing the colors in ncmpcpp.
I've set the colors of ncmpcpp in .Xdefaults.

Thanks :)

Offline

#2 2010-04-15 20:38:59

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

Re: Changing colors in vim

colorscheme moria

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2010-04-15 22:07:45

Agurken
Member
Registered: 2010-01-31
Posts: 61

Re: Changing colors in vim

Should i write that in .Xdefaults?

Offline

#4 2010-04-15 22:18:53

knopwob
Member
From: Hannover, Germany
Registered: 2010-01-30
Posts: 239
Website

Re: Changing colors in vim

no, you put that into your .vimrc

Offline

#5 2010-04-15 22:30:35

Agurken
Member
Registered: 2010-01-31
Posts: 61

Re: Changing colors in vim

Does it make any diffrence if it is on vim or gVim?

Offline

#6 2010-04-15 22:34:32

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Changing colors in vim

Which do you want it to appear in, vim or gvim?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#7 2010-04-15 22:35:08

Agurken
Member
Registered: 2010-01-31
Posts: 61

Re: Changing colors in vim

Well i got both, but don't seem like the colorscheme is setted on gvim.
I also prefer vim.

Last edited by Agurken (2010-04-15 22:38:17)

Offline

#8 2010-04-15 22:52:36

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Changing colors in vim

If you want both you should add it to .vimrc and .gvimrc.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#9 2010-04-16 01:01:39

ldvx
Member
Registered: 2007-01-02
Posts: 33

Re: Changing colors in vim

note: if you want to change colorscheme within vim (to check various vim themes for instance) you can type the command

:colorscheme nameoftheme (note it accepts tab autocompletition)

when you finally decide on a theme you write on your ~/.vimrc
colorscheme nameofthename

Offline

#10 2010-04-16 11:42:45

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Changing colors in vim

Agurken wrote:

Hi guys.

How can i change the colors in vim, so they fx would look like this: http://www.ubuntu-pics.de/bild/32870/sc … 58ONYp.png

But without changing the colors in ncmpcpp.
I've set the colors of ncmpcpp in .Xdefaults.

Thanks smile

You want to use a vim colorscheme that _doesn't_ use colour 1-15, and a terminal that supports 256colours.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#11 2010-06-03 14:01:51

Eit
Member
From: Italy
Registered: 2010-01-22
Posts: 57

Re: Changing colors in vim

Sry for replying in a "old" (not much) topic, I've downloaded a vim theme (oceandeep) and I've applied it without any error to vim , are the final colors depending on .Xdefaults in use?

Last edited by Eit (2010-06-03 14:08:36)

Offline

#12 2010-06-03 14:14:58

Ogion
Member
From: Germany
Registered: 2007-12-11
Posts: 367

Re: Changing colors in vim

Check i you have

filetype on
syntax on

in your ~/.vimrc

Ogion


(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant

Offline

#13 2010-06-03 14:24:14

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

Re: Changing colors in vim

the linked colorscheme is wombat. you'll need a terminal with 88 or 256 colors.


no place like /home
github

Offline

#14 2010-06-03 19:37:50

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Changing colors in vim

Eit wrote:

Sry for replying in a "old" (not much) topic, I've downloaded a vim theme (oceandeep) and I've applied it without any error to vim , are the final colors depending on .Xdefaults in use?

Best way to find out is to read oceandeep.vim. If it uses colour 0->15, then .Xdefaults will affect it.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB