-
Notifications
You must be signed in to change notification settings - Fork 10
/
README
144 lines (113 loc) · 5.32 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
Vim Color File
==============
Name: mirodark
Version: 0.5
Last Change: 06-02-2016
Maintainer: Jerome Castaneda <[email protected]>
URL: https://github.com/djjcast/mirodark
About: mirodark extends Jason W Ryan's miromiro(1) Vim color file with gVim, Linux console,
xterm-88color, and xterm-256color support. mirodark uses Jason W Ryan's dark(2)
terminal color scheme colors. mirodark uses Henry So, Jr.'s desert256(3) color
approximation functions.
1) https://bitbucket.org/jasonwryan/eeepc/src/40f27908ce98/.vim/colors/miromiro.vim
2) https://bitbucket.org/jasonwryan/eeepc/src/40f27908ce98/.colours/dark
3) http://www.vim.org/scripts/script.php?script_id=1243
Usage
=====
Installation:
1) Add mirodark.vim to your ~/.vim/colors directory.
2) Add the following to your ~/.vimrc file:
syntax on
colorscheme mirodark
Terminal Support:
mirodark uses color approximation functions to support xterm-88color and xterm-256color. If you
are not using xterm-88color or xterm-256color, then follow these instructions to set up your
terminal to use mirodark's color scheme. Also, if you are using xterm-88color or xterm-256color
but you want your terminal to use mirodark's color scheme, then follow these instructions.
1) If you are using a terminal that sets its color settings based on your ~/.Xresources file, like
xterm or rxvt-unicode, then add the following to your ~/.Xresources file. If you are not using
a terminal that sets its color settings based on your ~/.Xresources file, like gnome-terminal
or konsole, then set its color settings to the following color values manually.
!
! Terminal Color Scheme: dark
!
! Maintainer: Jason W Ryan <http://jasonwryan.com/>
!
! higher contrast background
!*background: #000000
*background: #121212
*foreground: #999999
! black dark/light
! higher contrast black dark/light
!*color0: #121212
!*color8: #3d3d3d
*color0: #3d3d3d
*color8: #5e5e5e
! red dark/light
*color1: #8a2f58
*color9: #cf4f88
! green dark/light
*color2: #287373
*color10: #53a6a6
! yellow dark/light
*color3: #914e89
*color11: #bf85cc
! blue dark/light
*color4: #395573
*color12: #4779b3
! magenta dark/light
*color5: #5e468c
*color13: #7f62b3
! cyan dark/light
*color6: #2b7694
*color14: #47959e
! white dark/light
*color7: #899ca1
*color15: #c0c0c0
2) If you are using xterm-88color or xterm-256color, then add the following to your ~/.vimrc file,
before 'colorscheme mirodark':
let g:mirodark_disable_color_approximation=1
Linux Console Support:
1) Add the following to your ~/.bashrc file:
#
# Linux Console Color Scheme: dark
#
# Maintainer: Jason W Ryan <http://jasonwryan.com/>
#
if [[ $TERM == "linux" ]]; then
echo -en "\033]P0000000" # black
echo -en "\033]P85e5e5e" # darkgray
echo -en "\033]P18a2f58" # darkred
echo -en "\033]P9cf4f88" # lightred
echo -en "\033]P2287373" # darkgreen
echo -en "\033]Pa53a6a6" # lightgreen
echo -en "\033]P3914e89" # darkyellow
echo -en "\033]Pbbf85cc" # lightyellow
echo -en "\033]P4395573" # darkblue
echo -en "\033]Pc4779b3" # lightblue
echo -en "\033]P55e468c" # darkmagenta
echo -en "\033]Pd7f62b3" # lightmagenta
echo -en "\033]P62b7694" # darkcyan
echo -en "\033]Pe47959e" # lightcyan
echo -en "\033]P7899ca1" # lightgray
echo -en "\033]Pfc0c0c0" # white
fi
Enable Higher Contrast Mode:
NOTE: Enabling Higher Contrast Mode only affects mirodark in xterm-256color and xterm-88color,
assuming you did not disable color approximation, and gVim.
1) Add the following to your ~/.vimrc file, before 'colorscheme mirodark':
let g:mirodark_enable_higher_contrast_mode=1
2) If you want to easily toggle Higher Contrast Mode on and off, then add the following to your
~/.vimrc file:
nnoremap <Leader>m :MirodarkToggleHigherContrastMode<CR>
Contact
=======
Maintainer: Jerome Castaneda <[email protected]>
URL: https://github.com/djjcast/mirodark
License
=======
The MIT License (MIT)
Copyright (c) 2013 Jerome Castaneda <[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.