You are not logged in.

#1 2010-12-03 10:02:52

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

vim colorschemes: way to put in vimrc?

I know you can put "colorscheme blah" inside /etc/vimrc, with the colorscheme residing in ~/.vimrc/colors/blah

But is there a way to put the colorscheme within /etc/vimrc itself? I like to minimize and centralize config files smile


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#2 2010-12-03 10:03:57

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

Re: vim colorschemes: way to put in vimrc?

Yes, but it's rather messy. If you want it system wide, just trow it in /usr/share/vim/vim73/colors/

Last edited by Mr.Elendig (2010-12-03 10:04:58)


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

Offline

#3 2010-12-03 10:09:00

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: vim colorschemes: way to put in vimrc?

Ok thanks smile

Just how messy is the "messy" way? tongue

Last edited by dyscoria (2010-12-03 10:09:09)


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#4 2010-12-03 10:31:11

Runiq
Member
From: Germany
Registered: 2008-10-29
Posts: 1,053

Re: vim colorschemes: way to put in vimrc?

dyscoria wrote:

Ok thanks smile

Just how messy is the "messy" way? tongue

Well, have a look at the colorschemes in the folder Mr.Elendig mentioned. It's pretty much all just normal hilight commands. You'd have to put all of these into your ~/.vimrc.

Offline

#5 2010-12-03 10:49:59

dyscoria
Member
Registered: 2008-01-10
Posts: 1,007

Re: vim colorschemes: way to put in vimrc?

I did try doing that without success, so I'm not sure if i'm meant to use a different syntax or something when putting directly into /etc/vimrc


flack 2.0.6: menu-driven BASH script to easily tag FLAC files (AUR)
knock-once 1.2: BASH script to easily create/send one-time sequences for knockd (forum/AUR)

Offline

#6 2010-12-03 17:06:53

thestinger
Package Maintainer (PM)
From: Toronto, Canada
Registered: 2010-01-23
Posts: 478

Re: vim colorschemes: way to put in vimrc?

Mr.Elendig wrote:

Yes, but it's rather messy. If you want it system wide, just trow it in /usr/share/vim/vim73/colors/

/usr/share/vim/vimfiles/colors/ is actually a better place for your own files

Offline

Board footer

Powered by FluxBB