[问题]vim7.0也可以像在windows 下一样,可以变成黑色的背景?

Vim、Emacs配置和使用
回复
wrglxgrw
帖子: 29
注册时间: 2006-04-06 23:11
送出感谢: 0
接收感谢: 0

[问题]vim7.0也可以像在windows 下一样,可以变成黑色的背景?

#1

帖子 wrglxgrw » 2006-04-08 20:11

vim7.0也可以像在windows 下一样,可以变成黑色的背景?
要放在哪里?
有的话哪位大虾可以给个配只好的文件!
谢谢了 :P :P :P :P :P :P
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
送出感谢: 0
接收感谢: 0
联系:

#2

帖子 karron » 2006-04-08 22:18

我的colorscheme,是在别人的基础上改的。把附件的文件的扩展名改为vim,放到你的~/.vim/colors/ 里面,然后在.vimrc中加上下面的语句 colorscheme inkpot
附件
inkpot.jpg
(7.7 KiB) 下载 592 次
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
头像
corey
帖子: 37
注册时间: 2005-12-15 10:34
送出感谢: 0
接收感谢: 0

我的配色方案 呵呵 名字corey 你可以随便改

#3

帖子 corey » 2006-04-10 20:01

" Vim color file
" Maintainer: corey
" Last Change: 2005 November 21

" This color scheme uses a dark grey background.

" First remove all existing highlighting.
set background=dark
hi clear
if exists("syntax_on")
syntax reset
endif

let colors_name = "corey"

hi Normal ctermbg=DarkGrey ctermfg=White guifg=White guibg=grey20

" Groups used in the 'highlight' and 'guicursor' options default value.
hi ErrorMsg term=standout ctermbg=DarkRed ctermfg=White guibg=Red
guifg=White
hi IncSearch term=reverse cterm=reverse gui=reverse
hi ModeMsg term=bold cterm=bold gui=bold
"hi StatusLine term=reverse,bold cterm=reverse,bold gui=reverse,bold
"hi StatusLineNC term=reverse cterm=reverse gui=reverse

hi StatusLine term=reverse cterm=reverse,bold guibg=black guifg=White
hi StatusLineNC term=reverse cterm=reverse guibg=White guifg=darkgray

"hi StatusLine term=reverse,bold cterm=reverse gui=NONE guifg=White
guibg=darkblue
"hi StatusLineNC term=reverse cterm=reverse gui=NONE guifg=white
guibg=#333333

hi VertSplit term=reverse cterm=reverse gui=reverse
hi Visual term=reverse cterm=reverse gui=reverse guifg=Grey guibg=fg
hi VisualNOS term=underline,bold cterm=underline,bold gui=underline,bold
hi DiffText term=reverse cterm=bold ctermbg=Red gui=bold guibg=Red
hi Cursor guibg=Green guifg=Black
hi lCursor guibg=Cyan guifg=Black
hi Directory term=bold ctermfg=LightCyan guifg=Cyan
hi LineNr term=underline ctermfg=LightCyan guifg=LightCyan
hi MoreMsg term=bold ctermfg=LightGreen gui=bold guifg=SeaGreen
hi NonText term=bold ctermfg=LightBlue gui=bold guifg=LightBlue guibg=grey30
hi Question term=standout ctermfg=LightGreen gui=bold guifg=Green
hi Search term=reverse ctermbg=Yellow ctermfg=Black guibg=Yellow guifg=Black
hi SpecialKey term=bold ctermfg=LightBlue guifg=Cyan
hi Title term=bold ctermfg=LightMagenta gui=bold guifg=Magenta
hi WarningMsg term=standout ctermfg=LightRed guifg=Red
hi WildMenu term=standout ctermbg=Yellow ctermfg=Black guibg=Yellow
guifg=Black
hi Folded term=standout ctermbg=LightGrey ctermfg=DarkBlue
guibg=LightGrey guifg=DarkBlue
hi FoldColumn term=standout ctermbg=LightGrey ctermfg=DarkBlue
guibg=Grey guifg=DarkBlue
hi DiffAdd term=bold ctermbg=DarkBlue guibg=DarkBlue
hi DiffChange term=bold ctermbg=DarkMagenta guibg=DarkMagenta
hi DiffDelete term=bold ctermfg=Blue ctermbg=DarkCyan gui=bold
guifg=Blue guibg=DarkCyan

" Groups for syntax highlighting
hi Constant term=underline ctermfg=Magenta guifg=#ffa0a0 guibg=grey5
hi Special term=bold ctermfg=LightRed guifg=Orange guibg=grey5
if &t_Co > 8
hi Statement term=bold cterm=bold ctermfg=Yellow guifg=#ffff60 gui=bold
endif
hi Ignore ctermfg=DarkGrey guifg=grey20

" vim: sw=2
附件
Snap1.jpg
imcsee
帖子: 3
注册时间: 2006-04-03 12:42
送出感谢: 0
接收感谢: 0

#4

帖子 imcsee » 2006-04-11 21:25

一般vim都自带几个暗色调的吧
:colo elfking
:colo darkblue
可以试试
help colorscheme 有说明,
http://www.cs.cmu.edu/~maverick/VimColorSchemeTest/
这个地方有比较多的colorscheme,我也喜欢暗色调的。把一些喜欢用的留下来,然后每次起动vim随机选一个colorscheme,感觉还不错。呵呵
回复

回到 “Vim和Emacs”