]> git.r.bdr.sh - rbdr/dotfiles/blame_incremental - vim/colors/astronaut.vim
Remove blinking and reattach-to-user-namespace
[rbdr/dotfiles] / vim / colors / astronaut.vim
... / ...
CommitLineData
1" astronaut.vim: a colorscheme
2" Maintainer: Charles E. Campbell, Jr. <charles.e.campbell.1@gsfc.nasa.gov>
3" Date: Feb 21, 2006
4" Version: 7
5"
6" Usage:
7" Put into your <.vimrc> file:
8" color astronaut
9"
10" Optional Modifiers:
11" let g:astronaut_bold=1 : term, cterm, and gui receive bold modifier
12" let g:astronaut_dark=1 : dark colors used (otherwise some terminals
13" make everything bold, which can be all one
14" color)
15" let g:astronaut_underline=1 : assume that underlining works on your terminal
16" let g:astronaut_italic=1 : allows italic to be used in gui
17" Examples:
18" iris : let astronaut_dark=1
19" Linux xterm: no modifiers needed
20"
21" GetLatestVimScripts: 122 1 :AutoInstall: astronaut.vim
22
23set background=dark
24hi clear
25if exists( "syntax_on" )
26 syntax reset
27endif
28let g:colors_name = "astronaut"
29let g:loaded_astronaut = "v7"
30
31" ---------------------------------------------------------------------
32" Default option values
33if !exists("g:astronaut_bold")
34 " on some machines, notably SGIs, a bold qualifier means everything is
35 " one color (SGIs: yellow)
36 let g:astronaut_bold= 0
37endif
38if !exists("g:astronaut_dark")
39 " this option, if true, means darkcolor (ex. darkred, darkmagenta, etc)
40 " is understood and wanted
41 let g:astronaut_dark= 0
42endif
43if !exists("g:astronaut_underline")
44 let g:astronaut_underline= 1
45endif
46if !exists("g:astronaut_italic")
47 let g:astronaut_italic= 0
48endif
49
50" ---------------------------------------------------------------------
51" Settings based on options
52if g:astronaut_bold != 0
53 let s:bold=",bold"
54else
55 let s:bold=""
56endif
57
58if g:astronaut_italic != 0
59 let s:italic= ",italic"
60else
61 let s:italic= ""
62endif
63
64if g:astronaut_dark != 0
65 let s:black = "black"
66 let s:red = "darkred"
67 let s:green = "darkgreen"
68 let s:yellow = "darkyellow"
69 let s:blue = "darkblue"
70 let s:magenta = "darkmagenta"
71 let s:cyan = "darkcyan"
72 let s:white = "white"
73else
74 let s:black = "black"
75 let s:red = "red"
76 let s:green = "green"
77 let s:yellow = "yellow"
78 let s:blue = "blue"
79 let s:magenta = "magenta"
80 let s:cyan = "cyan"
81 let s:white = "white"
82endif
83
84if g:astronaut_underline != 0
85 let s:underline= ",underline"
86 let s:ulbg = ""
87else
88 let s:underline= "none"
89 if exists("g:astronaut_dark")
90 let s:ulbg = "ctermbg=darkmagenta guibg=magenta4"
91 else
92 let s:ulbg = "ctermbg=magenta guibg=magenta"
93 endif
94endif
95
96" ---------------------------------------------------------------------
97exe "hi Blue start=\e[m\e[34m stop=\e[m\e[32m ctermfg=".s:blue." guifg=blue guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
98exe "hi Comment start=\e[m\e[37m stop=\e[m\e[32m ctermfg=".s:white." guifg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
99exe "hi Conceal ctermfg=".s:blue." ctermbg=".s:black." guifg=Blue guibg=Black term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
100exe "hi Constant start=\e[m\e[33m stop=\e[m\e[32m ctermfg=".s:yellow." guifg=yellow guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
101exe "hi Cursor guifg=blue guibg=green term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
102exe "hi Cyan start=\e[m\e[36m stop=\e[m\e[32m ctermfg=".s:cyan." guifg=cyan guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
103exe "hi Debug start=\e[m\e[31m stop=\e[m\e[32m ctermfg=".s:magenta." ctermbg=".s:black." guifg=magenta guibg=black term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
104exe "hi Delimiter start=\e[m\e[37m stop=\e[m\e[32m ctermfg=".s:white." guifg=white guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
105exe "hi DiffAdd ctermfg=".s:white." ctermbg=".s:magenta." guifg=White guibg=Magenta term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
106exe "hi DiffChange ctermfg=".s:yellow." ctermbg=".s:blue." guifg=Yellow guibg=Blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
107exe "hi DiffDelete ctermfg=".s:white." ctermbg=".s:blue." guifg=White guibg=Blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
108exe "hi DiffText ctermfg=".s:white." ctermbg=".s:red." guifg=White guibg=Red term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
109exe "hi Directory start=\e[m\e[37m stop=\e[m\e[32m ctermfg=".s:white." guifg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
110exe "hi Error start=\e[m\e[37;41m stop=\e[m\e[32m ctermfg=".s:white." ctermbg=".s:red." guifg=white guibg=red term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
111exe "hi ErrorMsg ctermfg=".s:white." ctermbg=".s:red." guifg=White guibg=Red term=standout".s:bold." cterm=none".s:bold." gui=none".s:bold
112exe "hi FoldColumn start=\e[m\e[36;40m stop=\e[m\e[32m ctermfg=".s:cyan." ctermbg=".s:black." guifg=Cyan guibg=Brown term=standout".s:bold." cterm=none".s:bold." gui=none".s:bold
113exe "hi Folded start=\e[m\e[35;40m stop=\e[m\e[32m ctermfg=".s:magenta." ctermbg=".s:black." guifg=magenta guibg=black term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
114exe "hi Function start=\e[m\e[36m stop=\e[m\e[32m ctermfg=".s:cyan." guifg=cyan guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
115exe "hi Green start=\e[m\e[32m stop=\e[m\e[32m ctermfg=".s:green." guifg=green guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
116exe "hi Identifier start=\e[m\e[45m stop=\e[m\e[32m ctermfg=".s:magenta." guifg=magenta guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
117exe "hi Ignore ctermfg=".s:black ." guifg=bg term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
118exe "hi IncSearch start=\e[m\e[30;42m stop=\e[m\e[32m ctermfg=".s:black ." ctermbg=".s:green." guifg=black guibg=green term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
119exe "hi LineNr ctermfg=".s:yellow." ".s:ulbg." guifg=Yellow term=none".s:underline.s:bold." cterm=none".s:bold." gui=none".s:bold
120exe "hi Magenta start=\e[m\e[35m stop=\e[m\e[32m ctermfg=".s:magenta." guifg=magenta guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
121exe "hi Menu guifg=black guibg=gray75 term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
122exe "hi ModeMsg ctermfg=".s:green." guifg=SeaGreen term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
123exe "hi MoreMsg ctermfg=".s:green." guifg=SeaGreen term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
124exe "hi NonText ctermfg=".s:blue." guifg=Blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
125exe "hi Normal start=\e[m\e[32m stop=\e[m\e[32m ctermfg=".s:green." guifg=green guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
126exe "hi PreProc start=\e[m\e[37;44m stop=\e[m\e[32m ctermfg=".s:white." ctermbg=".s:blue." guifg=white guibg=blue3 term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
127exe "hi Question start=\e[m\e[33m stop=\e[m\e[32m ctermfg=".s:yellow." guifg=yellow term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
128exe "hi Red start=\e[m\e[31m stop=\e[m\e[32m ctermfg=".s:red." guifg=red guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
129exe "hi Scrollbar guifg=gray80 guibg=gray70 term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
130exe "hi Search start=\e[m\e[33;44m stop=\e[m\e[32m ctermfg=".s:yellow." ctermbg=".s:blue." guifg=yellow guibg=blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
131exe "hi Special start=\e[m\e[32;44m stop=\e[m\e[32m ctermfg=".s:green." ctermbg=".s:blue." guifg=green guibg=blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
132exe "hi SpecialKey start=\e[m\e[30;45m stop=\e[m\e[32m ctermfg=".s:black." ctermbg=".s:magenta." guifg=black guibg=magenta term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
133exe "hi Statement start=\e[m\e[36m stop=\e[m\e[32m ctermfg=".s:cyan." guifg=cyan guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
134exe "hi StatusLine start=\e[m\e[30;46m stop=\e[m\e[32m ctermfg=".s:black." ctermbg=".s:cyan." guifg=black guibg=cyan term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
135exe "hi StatusLineNC start=\e[m\e[30;42m stop=\e[m\e[32m ctermfg=".s:black." ctermbg=".s:green." guifg=black guibg=green term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
136exe "hi String start=\e[m\e[33m stop=\e[m\e[32m ctermfg=".s:yellow." guifg=yellow guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
137exe "hi Subtitle start=\e[m\e[35m stop=\e[m\e[32m ctermfg=".s:magenta." guifg=magenta guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
138if v:version >= 700
139 exe "hi TabLine start=\e[m\e[30;44m stop=\e[m\e[32m ctermfg=".s:black." ctermbg=".s:blue." guifg=black guibg=blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold.s:underline.s:italic
140 exe "hi TabLineSel start=\e[m\e[37;44m stop=\e[m\e[32m ctermfg=".s:green." ctermbg=".s:blue." guifg=green guibg=blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold.s:underline.s:italic
141 exe "hi TabLineFill start=\e[m\e[34;44m stop=\e[m\e[32m ctermfg=".s:blue." ctermbg=".s:blue." guifg=blue guibg=blue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
142endif
143exe "hi Tags start=\e[m\e[33;44m stop=\e[m\e[32m ctermfg=".s:yellow." ctermbg=".s:blue." guifg=yellow guibg=blue3 term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
144exe "hi Title start=\e[m\e[37m stop=\e[m\e[32m ctermfg=".s:white." guifg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
145exe "hi Todo start=\e[m\e[37;45m stop=\e[m\e[32m ctermfg=".s:white." ctermbg=".s:magenta." guifg=white guibg=magenta term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
146exe "hi Type start=\e[m\e[4;32m stop=\e[m\e[32m ctermfg=".s:green." ".s:ulbg." guifg=seagreen1 term=none".s:underline.s:bold." cterm=none".s:bold.s:underline." gui=none".s:bold.s:underline
147exe "hi Underlined ctermfg=".s:green." ".s:ulbg." guifg=green term=none".s:underline.s:bold." cterm=none".s:bold.s:underline." gui=none".s:bold.s:underline
148exe "hi Unique start=\e[m\e[34;47m stop=\e[m\e[32m ctermfg=".s:blue." ctermbg=".s:white." guifg=blue3 guibg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
149exe "hi AltUnique start=\e[m\e[35;47m stop=\e[m\e[32m ctermfg=".s:magenta." ctermbg=".s:white." guifg=magenta guibg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
150exe "hi AltAltUnique start=\e[m\e[30;47m stop=\e[m\e[32m ctermfg=".s:black." ctermbg=".s:white." guifg=black guibg=white term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
151exe "hi VertSplit start=\e[m\e[30;42m stop=\e[m\e[32m ctermfg=".s:black." ctermbg=".s:green." guifg=black guibg=green term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
152exe "hi Visual start=\e[m\e[40;32m stop=\e[m\e[32m ctermfg=black ctermbg=green guifg=Grey guibg=fg term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
153exe "hi VisualNOS ".s:ulbg." term=none".s:underline.s:bold." cterm=none".s:bold.s:underline." gui=none".s:bold.s:underline
154exe "hi WarningMsg start=\e[m\e[30;43m stop=\e[m\e[32m ctermfg=".s:black." ctermbg=".s:yellow." guifg=black guibg=yellow term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
155exe "hi White start=\e[m\e[37m stop=\e[m\e[32m ctermfg=".s:white." guifg=white guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
156exe "hi WildMenu ctermfg=".s:black." ctermbg=".s:yellow." guifg=Black guibg=Yellow term=standout".s:bold." cterm=none".s:bold." gui=none".s:bold
157exe "hi Yellow start=\e[m\e[33m stop=\e[m\e[32m ctermfg=".s:yellow." guifg=yellow guibg=navyblue term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
158exe "hi lCursor guifg=bg guibg=fg term=none".s:bold." cterm=none".s:bold." gui=none".s:bold
159exe "hi AltConstant start=\e[m\e[33;40m stop=\e[m\e[32m ctermfg=".s:yellow." ctermbg=".s:black." guifg=yellow guibg=black term=none".s:bold." cterm=none".s:bold." gui=none".s:bold.s:italic
160exe "hi AltFunction start=\e[m\e[32;40m stop=\e[m\e[32m ctermfg=".s:green." ctermbg=".s:black." guifg=green guibg=black term=none".s:bold." cterm=none".s:bold." gui=none".s:bold.s:italic
161exe "hi AltType start=\e[m\e[4;32;40m stop=\e[m\e[32m ctermfg=".s:green." ctermbg=".s:black." guifg=seagreen1 guibg=black term=none".s:underline.s:bold." cterm=none".s:bold.s:underline." gui=none".s:bold.s:underline.s:italic
162exe "hi User1 ctermfg=".s:white." ctermbg=".s:blue." guifg=white guibg=blue"
163exe "hi User2 ctermfg=".s:cyan." ctermbg=".s:blue." guifg=cyan guibg=blue"
164" vim: nowrap