mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-16 07:13:46 -05:00
Compare commits
148 Commits
v1.3.5
...
v3.0.1-rc.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a7f043a00c | ||
|
|
9bbb40495c | ||
|
|
eaf2328575 | ||
|
|
cb4e7a5643 | ||
|
|
4174838e19 | ||
|
|
16504d394e | ||
|
|
cfbf6990a8 | ||
|
|
f5a8c62a94 | ||
|
|
d01875ddca | ||
|
|
76d2bd029f | ||
|
|
dffc9ba3d4 | ||
|
|
4866297075 | ||
|
|
c1390722b2 | ||
|
|
2e52310094 | ||
|
|
1f08ac6c98 | ||
|
|
96f0b0c69e | ||
|
|
c458427759 | ||
|
|
086eb9ce22 | ||
|
|
4ec70c0c43 | ||
|
|
a37e89fca3 | ||
|
|
ee2d07f5e2 | ||
|
|
ac607b80a7 | ||
|
|
d5265fe63f | ||
|
|
fca1a2f714 | ||
|
|
86fbb95593 | ||
|
|
fc0e32faa6 | ||
|
|
e5c6c3a359 | ||
|
|
6b493c552d | ||
|
|
bc1a718e8f | ||
|
|
0cd11da803 | ||
|
|
658b76d7c5 | ||
|
|
7c30304a97 | ||
|
|
c55b2b8a6b | ||
|
|
f06fe7f2ed | ||
|
|
416eaa92ba | ||
|
|
d7c681d922 | ||
|
|
28205e2497 | ||
|
|
66bba4cb8e | ||
|
|
127c9d14d4 | ||
|
|
c2c15907e9 | ||
|
|
00729ba14e | ||
|
|
ac470ec415 | ||
|
|
e9d8196ee4 | ||
|
|
cf214c3e38 | ||
|
|
cfc76603cd | ||
|
|
d7f7f1951d | ||
|
|
2ea3298f23 | ||
|
|
65a695d2f3 | ||
|
|
01134f34d2 | ||
|
|
e36636d007 | ||
|
|
5038636d26 | ||
|
|
85633c514c | ||
|
|
09c7412e82 | ||
|
|
91bae68760 | ||
|
|
fcbef6bdcc | ||
|
|
c7b13d9872 | ||
|
|
3f228101cd | ||
|
|
c97c520db1 | ||
|
|
766b079fc5 | ||
|
|
e4ba7abe5c | ||
|
|
824d1d64ba | ||
|
|
246d7350de | ||
|
|
1203da6591 | ||
|
|
9310c8567f | ||
|
|
cda6b51ccf | ||
|
|
3dba3e9466 | ||
|
|
1f930b7c34 | ||
|
|
0d03883418 | ||
|
|
bff2e86054 | ||
|
|
7fde9c10ce | ||
|
|
6f10f00d60 | ||
|
|
13f52ab26f | ||
|
|
80b22a4d41 | ||
|
|
e389a5113f | ||
|
|
deb11e66ff | ||
|
|
6ea0affbb7 | ||
|
|
c3855773e2 | ||
|
|
690b588378 | ||
|
|
302470272b | ||
|
|
2a5a99e9cc | ||
|
|
a2f2bc9bdf | ||
|
|
34fb99a2c2 | ||
|
|
4075d8fd5e | ||
|
|
6de3dc3793 | ||
|
|
5ff71877fc | ||
|
|
9af7261035 | ||
|
|
9f8868d073 | ||
|
|
e3916c06d8 | ||
|
|
1838bef5e7 | ||
|
|
d2b66b8083 | ||
|
|
3975304d56 | ||
|
|
56735e636d | ||
|
|
c20f2ab738 | ||
|
|
a9eb94ef85 | ||
|
|
483241795c | ||
|
|
dd1fe895bb | ||
|
|
5e9b157a77 | ||
|
|
326f69f36c | ||
|
|
289094bce9 | ||
|
|
2499d62b56 | ||
|
|
273c030ede | ||
|
|
c526ba9aee | ||
|
|
92700c007a | ||
|
|
577ef4a65a | ||
|
|
3439f8c5a5 | ||
|
|
705e68d90d | ||
|
|
5e20a2b15d | ||
|
|
2480e48880 | ||
|
|
b6a6b52702 | ||
|
|
80591d87b1 | ||
|
|
82c92c5066 | ||
|
|
09505e562e | ||
|
|
47df02e570 | ||
|
|
e52d140d6e | ||
|
|
9bdd5254bc | ||
|
|
ffe202e4e2 | ||
|
|
bf7928aa7a | ||
|
|
cbe381d0d2 | ||
|
|
ca1e855a8f | ||
|
|
aa4c37a849 | ||
|
|
4c63ae1d92 | ||
|
|
b7d8d25b4a | ||
|
|
0e9c476f63 | ||
|
|
add6f2d3cc | ||
|
|
155430669f | ||
|
|
e5cd7f95b5 | ||
|
|
891cbe898e | ||
|
|
3f711ed0f5 | ||
|
|
1e2ab2027c | ||
|
|
5f12296890 | ||
|
|
aceff65285 | ||
|
|
5b39b67b93 | ||
|
|
d1a55f7c2d | ||
|
|
de2d8aba76 | ||
|
|
82f323a5d7 | ||
|
|
f90fff7d64 | ||
|
|
4c31ffa97d | ||
|
|
bbe9c0e188 | ||
|
|
84d074632f | ||
|
|
d9df993b4c | ||
|
|
3502bb972a | ||
|
|
c12826b69a | ||
|
|
8e08381e23 | ||
|
|
f14b625a67 | ||
|
|
dd1713bf39 | ||
|
|
cad9d5e88d | ||
|
|
d1d73e198c | ||
|
|
0b0c26c25f |
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
.DS_Store
|
||||
node_modules
|
||||
npm-debug.log*
|
||||
yarn-error.log*
|
||||
6
CHANGELOG.md
Normal file
6
CHANGELOG.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
<a name="3.0.1-rc.0"></a>
|
||||
## [3.0.1-rc.0](https://github.com/morhetz/gruvbox/compare/v2.0.0...v3.0.1-rc.0) (2018-05-16)
|
||||
219
README.md
219
README.md
@@ -1,16 +1,20 @@
|
||||
gruvbox
|
||||
=======
|
||||
<p align="center"><img src="http://svgur.com/i/3Dp.svg"></p>
|
||||
|
||||
Retro groove color scheme for Vim.
|
||||
gruvbox is heavily inspired by [badwolf][], [jellybeans][] and [solarized][].
|
||||
|
||||
Gruvbox is heavily inspired by [badwolf][], [jellybeans][] and [solarized][].
|
||||
|
||||
Designed as a bright theme with pastel 'retro groove' colors and light/dark mode switching in the way of [solarized][]. The main focus when developing Gruvbox is to keep colors easily distinguishable, contrast enough and still pleasant for the eyes.
|
||||
Designed as a bright theme with pastel 'retro groove' colors and light/dark mode switching in the way of [solarized][]. The main focus when developing gruvbox is to keep colors easily distinguishable, contrast enough and still pleasant for the eyes.
|
||||
|
||||
[badwolf]: https://github.com/sjl/badwolf
|
||||
[jellybeans]: https://github.com/nanotech/jellybeans.vim
|
||||
[solarized]: http://ethanschoonover.com/solarized
|
||||
|
||||
Attention
|
||||
---------
|
||||
|
||||
1. [Read this first](https://github.com/morhetz/gruvbox/wiki/Terminal-specific)
|
||||
2. Typeface from gallery is [Fantasque Sans Mono](https://github.com/belluzj/fantasque-sans)
|
||||
3. Typeface from screenshots below is [Fira Mono](http://www.carrois.com/fira-4-1/)
|
||||
|
||||
Screenshots
|
||||
-----------
|
||||
|
||||
@@ -20,18 +24,49 @@ Refer [Gallery][] for more syntax-specific screenshots.
|
||||
|
||||
### Dark mode
|
||||
|
||||

|
||||

|
||||
|
||||
### Light mode
|
||||
|
||||

|
||||

|
||||
|
||||
### Airline theme
|
||||
|
||||

|
||||
|
||||
Palette
|
||||
-------
|
||||
|
||||
### Dark mode
|
||||
|
||||

|
||||
|
||||
### Light mode
|
||||
|
||||

|
||||
|
||||
Contrast options
|
||||
----------------
|
||||
|
||||
Refer [wiki section][] for contrast configuration and other options.
|
||||
|
||||
[wiki section]: https://github.com/morhetz/gruvbox/wiki/Configuration#ggruvbox_contrast_dark
|
||||
|
||||

|
||||
|
||||
Documentation
|
||||
-------------
|
||||
|
||||
Please check [wiki][] for installation details, terminal-specific setup, troubleshooting, configuration options and others.
|
||||
|
||||
[wiki]: https://github.com/morhetz/gruvbox/wiki
|
||||
|
||||
Features
|
||||
--------
|
||||
|
||||
* Lots of style-customization options (contrast, color invertion, italics usage etc.)
|
||||
* Extended filetype highlighting: Html, Xml, Vim, Clojure, C, Python, JavaScript, CoffeeScript, Ruby, Objective-C, Go, Lua, MoonScript, Java
|
||||
* Supported plugins: [EasyMotion][], [vim-sneak][], [Indent Guides][], [indentLine][], [Rainbow Parentheses][], [Airline][], [GitGutter][], [Signify][], [ShowMarks][], [Signature][], [Syntastic][], [CtrlP][], [Startify][]
|
||||
* Extended filetype highlighting: Html, Xml, Vim, Clojure, C, Python, JavaScript, TypeScript, PureScript, CoffeeScript, Ruby, Objective-C, Go, Lua, MoonScript, Java, Markdown, Haskell, Elixir
|
||||
* Supported plugins: [EasyMotion][], [vim-sneak][], [Indent Guides][], [indentLine][], [Rainbow Parentheses][], [Airline][], [Lightline][], [GitGutter][], [Signify][], [ShowMarks][], [Signature][], [Syntastic][], [Ale][], [CtrlP][], [Startify][], [NERDTree][], [Dirvish][]
|
||||
|
||||
[EasyMotion]: https://github.com/Lokaltog/vim-easymotion
|
||||
[vim-sneak]: https://github.com/justinmk/vim-sneak
|
||||
@@ -39,171 +74,37 @@ Features
|
||||
[indentLine]: https://github.com/Yggdroot/indentLine
|
||||
[Rainbow Parentheses]: https://github.com/kien/rainbow_parentheses.vim
|
||||
[Airline]: https://github.com/bling/vim-airline
|
||||
[Lightline]: https://github.com/itchyny/lightline.vim
|
||||
[GitGutter]: https://github.com/airblade/vim-gitgutter
|
||||
[Signify]: https://github.com/mhinz/vim-signify
|
||||
[ShowMarks]: http://www.vim.org/scripts/script.php?script_id=152
|
||||
[Signature]: https://github.com/kshenoy/vim-signature
|
||||
[Syntastic]: https://github.com/scrooloose/syntastic
|
||||
[Ale]: https://github.com/w0rp/ale
|
||||
[CtrlP]: https://github.com/kien/ctrlp.vim
|
||||
[Startify]: https://github.com/mhinz/vim-startify
|
||||
|
||||
Usage
|
||||
-----
|
||||
|
||||
gruvbox comes in two modes, dark and light. To toggle between them with F5 you can add these to your .vimrc:
|
||||
|
||||
map <silent> <F5> :call gruvbox#bg_toggle()<CR>
|
||||
imap <silent> <F5> <ESC>:call gruvbox#bg_toggle()<CR>a
|
||||
vmap <silent> <F5> <ESC>:call gruvbox#bg_toggle()<CR>gv
|
||||
|
||||
Just setting background to an appropriate value would work as well:
|
||||
|
||||
set bg=dark " Setting dark mode
|
||||
set bg=light " Setting light mode
|
||||
|
||||
Since gruvbox inverts cursor color, it could be awkward to determine current position, when the search is highlighted. To get single cursor color while searching, map these gruvbox functions same way:
|
||||
|
||||
map <silent> <F4> :call gruvbox#hls_toggle()<CR>
|
||||
imap <silent> <F4> <ESC>:call gruvbox#hls_toggle()<CR>a
|
||||
vmap <silent> <F4> <ESC>:call gruvbox#hls_toggle()<CR>gv
|
||||
|
||||
nnoremap <silent> <CR> :call gruvbox#hls_hide()<CR><CR>
|
||||
|
||||
nnoremap * :let @/ = ""<CR>:call gruvbox#hls_show()<CR>*
|
||||
nnoremap / :let @/ = ""<CR>:call gruvbox#hls_show()<CR>/
|
||||
nnoremap ? :let @/ = ""<CR>:call gruvbox#hls_show()<CR>?
|
||||
|
||||
So you'll get `g:gruvbox_hls_cursor` (orange by default) cursor color when highlight search is on and inverted one otherwise. With such mappings you could also toggle search highlight on and off with F4 and hide it with Enter.
|
||||
|
||||
Terminal-specific
|
||||
-----------------
|
||||
|
||||
(...).
|
||||
|
||||
* (Recommended) 256-color palette with gruvbox-palette shell script
|
||||
* 16 colors palette mode with gruvbox terminal colorscheme
|
||||
|
||||
Troubleshooting
|
||||
---------------
|
||||
|
||||
### Italics gets inverted (terminal)
|
||||
|
||||
Most terminals doesn't allow italics so the text that must be italicized goes inverted. To prevent that disable `g:gruvbox_italic` option.
|
||||
|
||||
### Effect of gruvbox_256palette.sh gets reset on Alt-Tab
|
||||
|
||||
That's known issue with Ubuntu GTK-themes. Refer [†][1] for more details. Known affected terms are Gnome Terminal, Terminator and Lilyterm and probably more VTE-based. Though with Lilyterm option 'Dim text when inactive' set off everything works fine.
|
||||
|
||||
[1]: https://github.com/morhetz/gruvbox/issues/13#issuecomment-30063099
|
||||
|
||||
### Lighter colors with iTerm2
|
||||
|
||||
(...). Refer [†][2] and [‡][3] for more details.
|
||||
|
||||
[2]: https://github.com/morhetz/gruvbox/issues/8#issuecomment-26782758
|
||||
[3]: https://github.com/morhetz/gruvbox/issues/8#issuecomment-27627656
|
||||
|
||||
Configuration
|
||||
-------------
|
||||
|
||||
### g:gruvbox_bold
|
||||
Enables bold text.
|
||||
default: `1`
|
||||
|
||||
### g:gruvbox_italic
|
||||
Enables italic text.
|
||||
default: `1`
|
||||
|
||||
### g:gruvbox_underline
|
||||
Enables underlined text.
|
||||
default: `1`
|
||||
|
||||
### g:gruvbox_undercurl
|
||||
Enables undercurled text.
|
||||
default: `1`
|
||||
|
||||
### g:gruvbox_termcolors
|
||||
Uses 256-color palette (suitable to pair with gruvbox-palette shell script). If you're dissatisfied with that, set option value to `16` to fallback base colors to your terminal palette. Refer [†][4] for details.
|
||||
default: `256`
|
||||
|
||||
[4]: https://github.com/morhetz/gruvbox/issues/4
|
||||
|
||||
### g:gruvbox_contrast
|
||||
Possible values are `soft`, `medium` and `hard`.
|
||||
default: `medium`
|
||||
|
||||
### g:gruvbox_hls_cursor
|
||||
Changes cursor background while search is highlighted. Possible values are any of gruvbox palette.
|
||||
default: `orange`
|
||||
|
||||
### g:gruvbox_sign_column
|
||||
Changes sign column background color. Possible values are any of gruvbox palette.
|
||||
default: `dark1`
|
||||
|
||||
### g:gruvbox_italicize_comments
|
||||
Enables italic for comments.
|
||||
default: `1`
|
||||
|
||||
### g:gruvbox_italicize_strings
|
||||
Enables italic for strings.
|
||||
default: `0`
|
||||
|
||||
### g:gruvbox_invert_selection
|
||||
Inverts selected text.
|
||||
default: `1`
|
||||
|
||||
### g:gruvbox_invert_signs
|
||||
Inverts GitGutter and Syntastic signs. Useful to rapidly focus on.
|
||||
default: `0`
|
||||
|
||||
### g:gruvbox_invert_indent_guides
|
||||
Inverts indent guides. Could be nice paired with `set list` so it would highlight only tab symbols instead of it's background.
|
||||
default: `0`
|
||||
|
||||
Functions
|
||||
---------
|
||||
|
||||
### gruvbox#bg_toggle()
|
||||
|
||||
(...)
|
||||
|
||||
### gruvbox#invert_signs_toggle()
|
||||
|
||||
(...)
|
||||
|
||||
### gruvbox#hls_show()
|
||||
|
||||
(...)
|
||||
|
||||
### gruvbox#hls_show_cursor()
|
||||
|
||||
(...)
|
||||
|
||||
### gruvbox#hls_hide()
|
||||
|
||||
(...)
|
||||
|
||||
### gruvbox#hls_hide_cursor()
|
||||
|
||||
(...)
|
||||
|
||||
### gruvbox#hls_toggle()
|
||||
|
||||
(...)
|
||||
[NERDTree]: https://github.com/scrooloose/nerdtree
|
||||
[Dirvish]: https://github.com/justinmk/vim-dirvish
|
||||
|
||||
Contributions
|
||||
-------------
|
||||
|
||||
See [gruvbox-generalized][] repo for contributions, ports and extras.
|
||||
See [gruvbox-contrib][] repo for contributions, ports and extras.
|
||||
|
||||
[gruvbox-generalized]: https://github.com/morhetz/gruvbox-generalized
|
||||
[gruvbox-contrib]: https://github.com/morhetz/gruvbox-contrib
|
||||
|
||||
ToDo
|
||||
----
|
||||
|
||||
* Filetype syntax highlighting (R, TeX and I'm still dissatisfied with CSS)
|
||||
* Plugin support (MiniBufExplorer, Tagbar)
|
||||
* Airline theme
|
||||
* Filetype syntax highlighting (R, TeX, Swift, Erlang)
|
||||
* Plugin support (Tagbar, VimPlug)
|
||||
|
||||
Self-Promotion
|
||||
--------------
|
||||
|
||||
If you like gruvbox follow the repository on
|
||||
[GitHub](https://github.com/morhetz/gruvbox) and vote for it on
|
||||
[vim.org](http://www.vim.org/scripts/script.php?script_id=4349).
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
79
autoload/airline/themes/gruvbox.vim
Normal file
79
autoload/airline/themes/gruvbox.vim
Normal file
@@ -0,0 +1,79 @@
|
||||
" -----------------------------------------------------------------------------
|
||||
" File: gruvbox.vim
|
||||
" Description: Retro groove color scheme for Airline
|
||||
" Author: morhetz <morhetz@gmail.com>
|
||||
" Source: https://github.com/morhetz/gruvbox
|
||||
" Last Modified: 12 Aug 2017
|
||||
" -----------------------------------------------------------------------------
|
||||
|
||||
let g:airline#themes#gruvbox#palette = {}
|
||||
|
||||
function! airline#themes#gruvbox#refresh()
|
||||
|
||||
let M0 = airline#themes#get_highlight('Identifier')
|
||||
let accents_group = airline#themes#get_highlight('Special')
|
||||
let modified_group = [M0[0], '', M0[2], '', '']
|
||||
let warning_group = airline#themes#get_highlight2(['Normal', 'bg'], ['Question', 'fg'])
|
||||
let error_group = airline#themes#get_highlight2(['Normal', 'bg'], ['WarningMsg', 'fg'])
|
||||
|
||||
let s:N1 = airline#themes#get_highlight2(['Normal', 'bg'], ['StatusLineNC', 'bg'])
|
||||
let s:N2 = airline#themes#get_highlight2(['StatusLineNC', 'bg'], ['Pmenu', 'bg'])
|
||||
let s:N3 = airline#themes#get_highlight2(['StatusLineNC', 'bg'], ['CursorLine', 'bg'])
|
||||
let g:airline#themes#gruvbox#palette.normal = airline#themes#generate_color_map(s:N1, s:N2, s:N3)
|
||||
let g:airline#themes#gruvbox#palette.normal_modified = { 'airline_c': modified_group }
|
||||
let g:airline#themes#gruvbox#palette.normal.airline_warning = warning_group
|
||||
let g:airline#themes#gruvbox#palette.normal_modified.airline_warning = warning_group
|
||||
let g:airline#themes#gruvbox#palette.normal.airline_error = error_group
|
||||
let g:airline#themes#gruvbox#palette.normal_modified.airline_error = error_group
|
||||
|
||||
let s:I1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Identifier', 'fg'])
|
||||
let s:I2 = s:N2
|
||||
let s:I3 = airline#themes#get_highlight2(['Normal', 'fg'], ['Pmenu', 'bg'])
|
||||
let g:airline#themes#gruvbox#palette.insert = airline#themes#generate_color_map(s:I1, s:I2, s:I3)
|
||||
let g:airline#themes#gruvbox#palette.insert_modified = g:airline#themes#gruvbox#palette.normal_modified
|
||||
let g:airline#themes#gruvbox#palette.insert.airline_warning = g:airline#themes#gruvbox#palette.normal.airline_warning
|
||||
let g:airline#themes#gruvbox#palette.insert_modified.airline_warning = g:airline#themes#gruvbox#palette.normal_modified.airline_warning
|
||||
let g:airline#themes#gruvbox#palette.insert.airline_error = g:airline#themes#gruvbox#palette.normal.airline_error
|
||||
let g:airline#themes#gruvbox#palette.insert_modified.airline_error = g:airline#themes#gruvbox#palette.normal_modified.airline_error
|
||||
|
||||
let s:R1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Structure', 'fg'])
|
||||
let s:R2 = s:I2
|
||||
let s:R3 = s:I3
|
||||
let g:airline#themes#gruvbox#palette.replace = airline#themes#generate_color_map(s:R1, s:R2, s:R3)
|
||||
let g:airline#themes#gruvbox#palette.replace_modified = g:airline#themes#gruvbox#palette.normal_modified
|
||||
let g:airline#themes#gruvbox#palette.replace.airline_warning = g:airline#themes#gruvbox#palette.normal.airline_warning
|
||||
let g:airline#themes#gruvbox#palette.replace_modified.airline_warning = g:airline#themes#gruvbox#palette.normal_modified.airline_warning
|
||||
let g:airline#themes#gruvbox#palette.replace.airline_error = g:airline#themes#gruvbox#palette.normal.airline_error
|
||||
let g:airline#themes#gruvbox#palette.replace_modified.airline_error = g:airline#themes#gruvbox#palette.normal_modified.airline_error
|
||||
|
||||
let s:V1 = airline#themes#get_highlight2(['Normal', 'bg'], ['Question', 'fg'])
|
||||
let s:V2 = s:N2
|
||||
let s:V3 = airline#themes#get_highlight2(['Normal', 'bg'], ['TabLine', 'fg'])
|
||||
let g:airline#themes#gruvbox#palette.visual = airline#themes#generate_color_map(s:V1, s:V2, s:V3)
|
||||
let g:airline#themes#gruvbox#palette.visual_modified = { 'airline_c': [ s:V3[0], '', s:V3[2], '', '' ] }
|
||||
let g:airline#themes#gruvbox#palette.visual.airline_warning = g:airline#themes#gruvbox#palette.normal.airline_warning
|
||||
let g:airline#themes#gruvbox#palette.visual_modified.airline_warning = g:airline#themes#gruvbox#palette.normal_modified.airline_warning
|
||||
let g:airline#themes#gruvbox#palette.visual.airline_error = g:airline#themes#gruvbox#palette.normal.airline_error
|
||||
let g:airline#themes#gruvbox#palette.visual_modified.airline_error = g:airline#themes#gruvbox#palette.normal_modified.airline_error
|
||||
|
||||
let s:IA = airline#themes#get_highlight2(['TabLine', 'fg'], ['CursorLine', 'bg'])
|
||||
let g:airline#themes#gruvbox#palette.inactive = airline#themes#generate_color_map(s:IA, s:IA, s:IA)
|
||||
let g:airline#themes#gruvbox#palette.inactive_modified = { 'airline_c': modified_group }
|
||||
|
||||
let g:airline#themes#gruvbox#palette.accents = { 'red': accents_group }
|
||||
|
||||
let s:TF = airline#themes#get_highlight2(['Normal', 'bg'], ['Normal', 'bg'])
|
||||
let g:airline#themes#gruvbox#palette.tabline = {
|
||||
\ 'airline_tab': s:N2,
|
||||
\ 'airline_tabsel': s:N1,
|
||||
\ 'airline_tabtype': s:V1,
|
||||
\ 'airline_tabfill': s:TF,
|
||||
\ 'airline_tabhid': s:IA,
|
||||
\ 'airline_tabmod': s:I1
|
||||
\ }
|
||||
|
||||
endfunction
|
||||
|
||||
call airline#themes#gruvbox#refresh()
|
||||
|
||||
" vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker:
|
||||
@@ -3,49 +3,39 @@
|
||||
" Description: Retro groove color scheme for Vim
|
||||
" Author: morhetz <morhetz@gmail.com>
|
||||
" Source: https://github.com/morhetz/gruvbox
|
||||
" Last Modified: 11 Mar 2014
|
||||
" Last Modified: 09 Apr 2014
|
||||
" -----------------------------------------------------------------------------
|
||||
|
||||
function! gruvbox#bg_toggle()
|
||||
if &background == 'dark'
|
||||
set background=light
|
||||
else
|
||||
set background=dark
|
||||
endif
|
||||
|
||||
colorcheme gruvbox
|
||||
endfunction
|
||||
|
||||
function! gruvbox#invert_signs_toggle()
|
||||
if g:gruvbox_invert_signs == 0
|
||||
let g:gruvbox_invert_signs=1
|
||||
else
|
||||
let g:gruvbox_invert_signs=0
|
||||
endif
|
||||
if g:gruvbox_invert_signs == 0
|
||||
let g:gruvbox_invert_signs=1
|
||||
else
|
||||
let g:gruvbox_invert_signs=0
|
||||
endif
|
||||
|
||||
colorscheme gruvbox
|
||||
colorscheme gruvbox
|
||||
endfunction
|
||||
|
||||
" Search Highlighting {{{
|
||||
|
||||
function! gruvbox#hls_show()
|
||||
set hlsearch
|
||||
call GruvboxHlsShowCursor()
|
||||
set hlsearch
|
||||
call GruvboxHlsShowCursor()
|
||||
endfunction
|
||||
|
||||
function! gruvbox#hls_hide()
|
||||
set nohlsearch
|
||||
call GruvboxHlsHideCursor()
|
||||
set nohlsearch
|
||||
call GruvboxHlsHideCursor()
|
||||
endfunction
|
||||
|
||||
function! gruvbox#hls_toggle()
|
||||
if &hlsearch
|
||||
call gruvbox#hls_hide()
|
||||
else
|
||||
call gruvbox#hls_show()
|
||||
endif
|
||||
if &hlsearch
|
||||
call gruvbox#hls_hide()
|
||||
else
|
||||
call gruvbox#hls_show()
|
||||
endif
|
||||
endfunction
|
||||
|
||||
" }}}
|
||||
|
||||
" vim: set sw=3 ts=3 sts=3 noet tw=80 ft=vim fdm=marker:
|
||||
" vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker:
|
||||
|
||||
57
autoload/lightline/colorscheme/gruvbox.vim
Normal file
57
autoload/lightline/colorscheme/gruvbox.vim
Normal file
@@ -0,0 +1,57 @@
|
||||
" -----------------------------------------------------------------------------
|
||||
" File: gruvbox.vim
|
||||
" Description: Gruvbox colorscheme for Lightline (itchyny/lightline.vim)
|
||||
" Author: gmoe <me@griffinmoe.com>
|
||||
" Source: https://github.com/morhetz/gruvbox
|
||||
" Last Modified: 20 Sep 2017
|
||||
" -----------------------------------------------------------------------------
|
||||
|
||||
function! s:getGruvColor(group)
|
||||
let guiColor = synIDattr(hlID(a:group), "fg", "gui")
|
||||
let termColor = synIDattr(hlID(a:group), "fg", "cterm")
|
||||
return [ guiColor, termColor ]
|
||||
endfunction
|
||||
|
||||
if exists('g:lightline')
|
||||
|
||||
let s:bg0 = s:getGruvColor('GruvboxBg0')
|
||||
let s:bg1 = s:getGruvColor('GruvboxBg1')
|
||||
let s:bg2 = s:getGruvColor('GruvboxBg2')
|
||||
let s:bg4 = s:getGruvColor('GruvboxBg4')
|
||||
let s:fg1 = s:getGruvColor('GruvboxFg1')
|
||||
let s:fg4 = s:getGruvColor('GruvboxFg4')
|
||||
|
||||
let s:yellow = s:getGruvColor('GruvboxYellow')
|
||||
let s:blue = s:getGruvColor('GruvboxBlue')
|
||||
let s:aqua = s:getGruvColor('GruvboxAqua')
|
||||
let s:orange = s:getGruvColor('GruvboxOrange')
|
||||
let s:green = s:getGruvColor('GruvboxGreen')
|
||||
|
||||
let s:p = {'normal':{}, 'inactive':{}, 'insert':{}, 'replace':{}, 'visual':{}, 'tabline':{}, 'terminal':{}}
|
||||
let s:p.normal.left = [ [ s:bg0, s:fg4, 'bold' ], [ s:fg4, s:bg2 ] ]
|
||||
let s:p.normal.right = [ [ s:bg0, s:fg4 ], [ s:fg4, s:bg2 ] ]
|
||||
let s:p.normal.middle = [ [ s:fg4, s:bg1 ] ]
|
||||
let s:p.inactive.right = [ [ s:bg4, s:bg1 ], [ s:bg4, s:bg1 ] ]
|
||||
let s:p.inactive.left = [ [ s:bg4, s:bg1 ], [ s:bg4, s:bg1 ] ]
|
||||
let s:p.inactive.middle = [ [ s:bg4, s:bg1 ] ]
|
||||
let s:p.insert.left = [ [ s:bg0, s:blue, 'bold' ], [ s:fg1, s:bg2 ] ]
|
||||
let s:p.insert.right = [ [ s:bg0, s:blue ], [ s:fg1, s:bg2 ] ]
|
||||
let s:p.insert.middle = [ [ s:fg4, s:bg2 ] ]
|
||||
let s:p.terminal.left = [ [ s:bg0, s:green, 'bold' ], [ s:fg1, s:bg2 ] ]
|
||||
let s:p.terminal.right = [ [ s:bg0, s:green ], [ s:fg1, s:bg2 ] ]
|
||||
let s:p.terminal.middle = [ [ s:fg4, s:bg2 ] ]
|
||||
let s:p.replace.left = [ [ s:bg0, s:aqua, 'bold' ], [ s:fg1, s:bg2 ] ]
|
||||
let s:p.replace.right = [ [ s:bg0, s:aqua ], [ s:fg1, s:bg2 ] ]
|
||||
let s:p.replace.middle = [ [ s:fg4, s:bg2 ] ]
|
||||
let s:p.visual.left = [ [ s:bg0, s:orange, 'bold' ], [ s:bg0, s:bg4 ] ]
|
||||
let s:p.visual.right = [ [ s:bg0, s:orange ], [ s:bg0, s:bg4 ] ]
|
||||
let s:p.visual.middle = [ [ s:fg4, s:bg1 ] ]
|
||||
let s:p.tabline.left = [ [ s:fg4, s:bg2 ] ]
|
||||
let s:p.tabline.tabsel = [ [ s:bg0, s:fg4 ] ]
|
||||
let s:p.tabline.middle = [ [ s:bg0, s:bg0 ] ]
|
||||
let s:p.tabline.right = [ [ s:bg0, s:orange ] ]
|
||||
let s:p.normal.error = [ [ s:bg0, s:orange ] ]
|
||||
let s:p.normal.warning = [ [ s:bg2, s:yellow ] ]
|
||||
|
||||
let g:lightline#colorscheme#gruvbox#palette = lightline#colorscheme#flatten(s:p)
|
||||
endif
|
||||
1598
colors/gruvbox.vim
1598
colors/gruvbox.vim
File diff suppressed because it is too large
Load Diff
@@ -1,116 +1,118 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "${TERM%%-*}" = "screen" ]; then
|
||||
if [ -n "$TMUX" ]; then
|
||||
printf "\033Ptmux;\033\033]4;236;rgb:32/30/2f\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;234;rgb:1d/20/21\007\033\\"
|
||||
if [ -n "$TMUX" ]; then
|
||||
printf "\033Ptmux;\033\033]4;236;rgb:32/30/2f\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;234;rgb:1d/20/21\007\033\\"
|
||||
|
||||
printf "\033Ptmux;\033\033]4;235;rgb:28/28/28\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;237;rgb:3c/38/36\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;239;rgb:50/49/45\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;241;rgb:66/5c/54\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;243;rgb:7c/6f/64\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;235;rgb:28/28/28\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;237;rgb:3c/38/36\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;239;rgb:50/49/45\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;241;rgb:66/5c/54\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;243;rgb:7c/6f/64\007\033\\"
|
||||
|
||||
printf "\033Ptmux;\033\033]4;244;rgb:92/83/74\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;245;rgb:92/83/74\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;244;rgb:92/83/74\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;245;rgb:92/83/74\007\033\\"
|
||||
|
||||
printf "\033Ptmux;\033\033]4;228;rgb:f4/e8/ba\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;230;rgb:ff/ff/c8\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;228;rgb:f2/e5/bc\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;230;rgb:f9/f5/d7\007\033\\"
|
||||
|
||||
printf "\033Ptmux;\033\033]4;229;rgb:fd/f4/c1\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;223;rgb:eb/db/b2\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;250;rgb:d5/c4/a1\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;248;rgb:bd/ae/93\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;246;rgb:a8/99/84\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;229;rgb:fb/f1/c7\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;223;rgb:eb/db/b2\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;250;rgb:d5/c4/a1\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;248;rgb:bd/ae/93\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;246;rgb:a8/99/84\007\033\\"
|
||||
|
||||
printf "\033Ptmux;\033\033]4;167;rgb:fb/49/34\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;142;rgb:b8/bb/26\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;214;rgb:fa/bd/2f\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;109;rgb:83/a5/98\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;175;rgb:d3/86/9b\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;108;rgb:8e/c0/7c\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;208;rgb:fe/80/19\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;167;rgb:fb/49/34\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;142;rgb:b8/bb/26\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;214;rgb:fa/bd/2f\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;109;rgb:83/a5/98\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;175;rgb:d3/86/9b\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;108;rgb:8e/c0/7c\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;208;rgb:fe/80/19\007\033\\"
|
||||
|
||||
printf "\033Ptmux;\033\033]4;88;rgb:9d/00/06\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;100;rgb:79/74/0e\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;136;rgb:b5/76/14\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;24;rgb:07/66/78\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;96;rgb:8f/3f/71\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;66;rgb:42/7b/58\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;130;rgb:af/3a/03\007\033\\"
|
||||
else
|
||||
printf "\033P\033]4;236;rgb:32/30/2f\007\033\\"
|
||||
printf "\033P\033]4;234;rgb:1d/20/21\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;88;rgb:9d/00/06\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;100;rgb:79/74/0e\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;136;rgb:b5/76/14\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;24;rgb:07/66/78\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;96;rgb:8f/3f/71\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;66;rgb:42/7b/58\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;130;rgb:af/3a/03\007\033\\"
|
||||
else
|
||||
printf "\033P\033]4;236;rgb:32/30/2f\007\033\\"
|
||||
printf "\033P\033]4;234;rgb:1d/20/21\007\033\\"
|
||||
|
||||
printf "\033P\033]4;235;rgb:28/28/28\007\033\\"
|
||||
printf "\033P\033]4;237;rgb:3c/38/36\007\033\\"
|
||||
printf "\033P\033]4;239;rgb:50/49/45\007\033\\"
|
||||
printf "\033P\033]4;241;rgb:66/5c/54\007\033\\"
|
||||
printf "\033P\033]4;243;rgb:7c/6f/64\007\033\\"
|
||||
printf "\033P\033]4;235;rgb:28/28/28\007\033\\"
|
||||
printf "\033P\033]4;237;rgb:3c/38/36\007\033\\"
|
||||
printf "\033P\033]4;239;rgb:50/49/45\007\033\\"
|
||||
printf "\033P\033]4;241;rgb:66/5c/54\007\033\\"
|
||||
printf "\033P\033]4;243;rgb:7c/6f/64\007\033\\"
|
||||
|
||||
printf "\033P\033]4;244;rgb:92/83/74\007\033\\"
|
||||
printf "\033P\033]4;245;rgb:92/83/74\007\033\\"
|
||||
printf "\033P\033]4;244;rgb:92/83/74\007\033\\"
|
||||
printf "\033P\033]4;245;rgb:92/83/74\007\033\\"
|
||||
|
||||
printf "\033P\033]4;228;rgb:f4/e8/ba\007\033\\"
|
||||
printf "\033P\033]4;230;rgb:ff/ff/c8\007\033\\"
|
||||
printf "\033P\033]4;228;rgb:f2/e5/bc\007\033\\"
|
||||
printf "\033P\033]4;230;rgb:f9/f5/d7\007\033\\"
|
||||
|
||||
printf "\033P\033]4;229;rgb:fd/f4/c1\007\033\\"
|
||||
printf "\033P\033]4;223;rgb:eb/db/b2\007\033\\"
|
||||
printf "\033P\033]4;250;rgb:d5/c4/a1\007\033\\"
|
||||
printf "\033P\033]4;248;rgb:bd/ae/93\007\033\\"
|
||||
printf "\033P\033]4;246;rgb:a8/99/84\007\033\\"
|
||||
printf "\033P\033]4;229;rgb:fb/f1/c7\007\033\\"
|
||||
printf "\033P\033]4;223;rgb:eb/db/b2\007\033\\"
|
||||
printf "\033P\033]4;250;rgb:d5/c4/a1\007\033\\"
|
||||
printf "\033P\033]4;248;rgb:bd/ae/93\007\033\\"
|
||||
printf "\033P\033]4;246;rgb:a8/99/84\007\033\\"
|
||||
|
||||
printf "\033P\033]4;167;rgb:fb/49/34\007\033\\"
|
||||
printf "\033P\033]4;142;rgb:b8/bb/26\007\033\\"
|
||||
printf "\033P\033]4;214;rgb:fa/bd/2f\007\033\\"
|
||||
printf "\033P\033]4;109;rgb:83/a5/98\007\033\\"
|
||||
printf "\033P\033]4;175;rgb:d3/86/9b\007\033\\"
|
||||
printf "\033P\033]4;108;rgb:8e/c0/7c\007\033\\"
|
||||
printf "\033P\033]4;208;rgb:fe/80/19\007\033\\"
|
||||
printf "\033P\033]4;167;rgb:fb/49/34\007\033\\"
|
||||
printf "\033P\033]4;142;rgb:b8/bb/26\007\033\\"
|
||||
printf "\033P\033]4;214;rgb:fa/bd/2f\007\033\\"
|
||||
printf "\033P\033]4;109;rgb:83/a5/98\007\033\\"
|
||||
printf "\033P\033]4;175;rgb:d3/86/9b\007\033\\"
|
||||
printf "\033P\033]4;108;rgb:8e/c0/7c\007\033\\"
|
||||
printf "\033P\033]4;208;rgb:fe/80/19\007\033\\"
|
||||
|
||||
printf "\033P\033]4;88;rgb:9d/00/06\007\033\\"
|
||||
printf "\033P\033]4;100;rgb:79/74/0e\007\033\\"
|
||||
printf "\033P\033]4;136;rgb:b5/76/14\007\033\\"
|
||||
printf "\033P\033]4;24;rgb:07/66/78\007\033\\"
|
||||
printf "\033P\033]4;96;rgb:8f/3f/71\007\033\\"
|
||||
printf "\033P\033]4;66;rgb:42/7b/58\007\033\\"
|
||||
printf "\033P\033]4;130;rgb:af/3a/03\007\033\\"
|
||||
fi
|
||||
else
|
||||
printf "\033]4;236;rgb:32/30/2f\033\\"
|
||||
printf "\033]4;234;rgb:1d/20/21\033\\"
|
||||
printf "\033P\033]4;88;rgb:9d/00/06\007\033\\"
|
||||
printf "\033P\033]4;100;rgb:79/74/0e\007\033\\"
|
||||
printf "\033P\033]4;136;rgb:b5/76/14\007\033\\"
|
||||
printf "\033P\033]4;24;rgb:07/66/78\007\033\\"
|
||||
printf "\033P\033]4;96;rgb:8f/3f/71\007\033\\"
|
||||
printf "\033P\033]4;66;rgb:42/7b/58\007\033\\"
|
||||
printf "\033P\033]4;130;rgb:af/3a/03\007\033\\"
|
||||
fi
|
||||
|
||||
printf "\033]4;235;rgb:28/28/28\033\\"
|
||||
printf "\033]4;237;rgb:3c/38/36\033\\"
|
||||
printf "\033]4;239;rgb:50/49/45\033\\"
|
||||
printf "\033]4;241;rgb:66/5c/54\033\\"
|
||||
printf "\033]4;243;rgb:7c/6f/64\033\\"
|
||||
elif [ "$TERM" != "linux" ] && [ "$TERM" != "vt100" ] && [ "$TERM" != "vt220" ]; then
|
||||
|
||||
printf "\033]4;244;rgb:92/83/74\033\\"
|
||||
printf "\033]4;245;rgb:92/83/74\033\\"
|
||||
printf "\033]4;236;rgb:32/30/2f\033\\"
|
||||
printf "\033]4;234;rgb:1d/20/21\033\\"
|
||||
|
||||
printf "\033]4;228;rgb:f4/e8/ba\033\\"
|
||||
printf "\033]4;230;rgb:ff/ff/c8\033\\"
|
||||
printf "\033]4;235;rgb:28/28/28\033\\"
|
||||
printf "\033]4;237;rgb:3c/38/36\033\\"
|
||||
printf "\033]4;239;rgb:50/49/45\033\\"
|
||||
printf "\033]4;241;rgb:66/5c/54\033\\"
|
||||
printf "\033]4;243;rgb:7c/6f/64\033\\"
|
||||
|
||||
printf "\033]4;229;rgb:fd/f4/c1\033\\"
|
||||
printf "\033]4;223;rgb:eb/db/b2\033\\"
|
||||
printf "\033]4;250;rgb:d5/c4/a1\033\\"
|
||||
printf "\033]4;248;rgb:bd/ae/93\033\\"
|
||||
printf "\033]4;246;rgb:a8/99/84\033\\"
|
||||
printf "\033]4;244;rgb:92/83/74\033\\"
|
||||
printf "\033]4;245;rgb:92/83/74\033\\"
|
||||
|
||||
printf "\033]4;167;rgb:fb/49/34\033\\"
|
||||
printf "\033]4;142;rgb:b8/bb/26\033\\"
|
||||
printf "\033]4;214;rgb:fa/bd/2f\033\\"
|
||||
printf "\033]4;109;rgb:83/a5/98\033\\"
|
||||
printf "\033]4;175;rgb:d3/86/9b\033\\"
|
||||
printf "\033]4;108;rgb:8e/c0/7c\033\\"
|
||||
printf "\033]4;208;rgb:fe/80/19\033\\"
|
||||
printf "\033]4;228;rgb:f2/e5/bc\033\\"
|
||||
printf "\033]4;230;rgb:f9/f5/d7\033\\"
|
||||
|
||||
printf "\033]4;88;rgb:9d/00/06\033\\"
|
||||
printf "\033]4;100;rgb:79/74/0e\033\\"
|
||||
printf "\033]4;136;rgb:b5/76/14\033\\"
|
||||
printf "\033]4;24;rgb:07/66/78\033\\"
|
||||
printf "\033]4;96;rgb:8f/3f/71\033\\"
|
||||
printf "\033]4;66;rgb:42/7b/58\033\\"
|
||||
printf "\033]4;130;rgb:af/3a/03\033\\"
|
||||
printf "\033]4;229;rgb:fb/f1/c7\033\\"
|
||||
printf "\033]4;223;rgb:eb/db/b2\033\\"
|
||||
printf "\033]4;250;rgb:d5/c4/a1\033\\"
|
||||
printf "\033]4;248;rgb:bd/ae/93\033\\"
|
||||
printf "\033]4;246;rgb:a8/99/84\033\\"
|
||||
|
||||
printf "\033]4;167;rgb:fb/49/34\033\\"
|
||||
printf "\033]4;142;rgb:b8/bb/26\033\\"
|
||||
printf "\033]4;214;rgb:fa/bd/2f\033\\"
|
||||
printf "\033]4;109;rgb:83/a5/98\033\\"
|
||||
printf "\033]4;175;rgb:d3/86/9b\033\\"
|
||||
printf "\033]4;108;rgb:8e/c0/7c\033\\"
|
||||
printf "\033]4;208;rgb:fe/80/19\033\\"
|
||||
|
||||
printf "\033]4;88;rgb:9d/00/06\033\\"
|
||||
printf "\033]4;100;rgb:79/74/0e\033\\"
|
||||
printf "\033]4;136;rgb:b5/76/14\033\\"
|
||||
printf "\033]4;24;rgb:07/66/78\033\\"
|
||||
printf "\033]4;96;rgb:8f/3f/71\033\\"
|
||||
printf "\033]4;66;rgb:42/7b/58\033\\"
|
||||
printf "\033]4;130;rgb:af/3a/03\033\\"
|
||||
fi
|
||||
|
||||
@@ -1,116 +1,116 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ "${TERM%%-*}" = "screen" ]; then
|
||||
if [ -n "$TMUX" ]; then
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;236;rgb:32/30/2f\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;234;rgb:1d/20/21\a\x1b\\"
|
||||
if [ -n "$TMUX" ]; then
|
||||
printf "\033Ptmux;\033\033]4;236;rgb:26/24/23\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;234;rgb:16/18/19\007\033\\"
|
||||
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;235;rgb:28/28/28\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;237;rgb:3c/38/36\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;239;rgb:50/49/45\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;241;rgb:66/5c/54\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;243;rgb:7c/6f/64\a\x1b\\"
|
||||
printf "\033Ptmux;\033\033]4;235;rgb:1e/1e/1e\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;237;rgb:2e/2a/29\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;239;rgb:3f/39/35\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;241;rgb:53/4a/42\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;243;rgb:68/5c/51\007\033\\"
|
||||
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;244;rgb:92/83/74\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;245;rgb:92/83/74\a\x1b\\"
|
||||
printf "\033Ptmux;\033\033]4;244;rgb:7f/70/61\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;245;rgb:7f/70/61\007\033\\"
|
||||
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;228;rgb:f4/e8/ba\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;230;rgb:ff/ff/c8\a\x1b\\"
|
||||
printf "\033Ptmux;\033\033]4;228;rgb:ef/df/ae\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;230;rgb:f8/f4/cd\007\033\\"
|
||||
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;229;rgb:fd/f4/c1\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;223;rgb:eb/db/b2\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;250;rgb:d5/c4/a1\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;248;rgb:bd/ae/93\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;246;rgb:a8/99/84\a\x1b\\"
|
||||
printf "\033Ptmux;\033\033]4;229;rgb:fa/ee/bb\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;223;rgb:e6/d4/a3\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;250;rgb:cb/b8/90\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;248;rgb:af/9f/81\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;246;rgb:97/87/71\007\033\\"
|
||||
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;167;rgb:fb/49/34\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;142;rgb:b8/bb/26\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;214;rgb:fa/bd/2f\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;109;rgb:83/a5/98\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;175;rgb:d3/86/9b\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;108;rgb:8e/c0/7c\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;208;rgb:fe/80/19\a\x1b\\"
|
||||
printf "\033Ptmux;\033\033]4;167;rgb:f7/30/28\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;142;rgb:aa/b0/1e\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;214;rgb:f7/b1/25\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;109;rgb:71/95/86\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;175;rgb:c7/70/89\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;108;rgb:7d/b6/69\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;208;rgb:fb/6a/16\007\033\\"
|
||||
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;88;rgb:9d/00/06\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;100;rgb:79/74/0e\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;136;rgb:b5/76/14\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;24;rgb:07/66/78\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;96;rgb:8f/3f/71\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;66;rgb:42/7b/58\a\x1b\\"
|
||||
echo -ne "\x1bPtmux;\x1b\x1b]4;130;rgb:af/3a/03\a\x1b\\"
|
||||
else
|
||||
echo -ne "\x1bP\x1b]4;236;rgb:32/30/2f\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;234;rgb:1d/20/21\a\x1b\\"
|
||||
printf "\033Ptmux;\033\033]4;88;rgb:89/00/09\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;100;rgb:66/62/0d\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;136;rgb:a5/63/11\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;24;rgb:0e/53/65\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;96;rgb:7b/2b/5e\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;66;rgb:35/6a/46\007\033\\"
|
||||
printf "\033Ptmux;\033\033]4;130;rgb:9d/28/07\007\033\\"
|
||||
else
|
||||
printf "\033P\033]4;236;rgb:26/24/23\007\033\\"
|
||||
printf "\033P\033]4;234;rgb:16/18/19\007\033\\"
|
||||
|
||||
echo -ne "\x1bP\x1b]4;235;rgb:28/28/28\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;237;rgb:3c/38/36\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;239;rgb:50/49/45\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;241;rgb:66/5c/54\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;243;rgb:7c/6f/64\a\x1b\\"
|
||||
printf "\033P\033]4;235;rgb:1e/1e/1e\007\033\\"
|
||||
printf "\033P\033]4;237;rgb:2e/2a/29\007\033\\"
|
||||
printf "\033P\033]4;239;rgb:3f/39/35\007\033\\"
|
||||
printf "\033P\033]4;241;rgb:53/4a/42\007\033\\"
|
||||
printf "\033P\033]4;243;rgb:68/5c/51\007\033\\"
|
||||
|
||||
echo -ne "\x1bP\x1b]4;244;rgb:92/83/74\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;245;rgb:92/83/74\a\x1b\\"
|
||||
printf "\033P\033]4;244;rgb:7f/70/61\007\033\\"
|
||||
printf "\033P\033]4;245;rgb:7f/70/61\007\033\\"
|
||||
|
||||
echo -ne "\x1bP\x1b]4;228;rgb:f4/e8/ba\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;230;rgb:ff/ff/c8\a\x1b\\"
|
||||
printf "\033P\033]4;228;rgb:ef/df/ae\007\033\\"
|
||||
printf "\033P\033]4;230;rgb:f8/f4/cd\007\033\\"
|
||||
|
||||
echo -ne "\x1bP\x1b]4;229;rgb:fd/f4/c1\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;223;rgb:eb/db/b2\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;250;rgb:d5/c4/a1\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;248;rgb:bd/ae/93\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;246;rgb:a8/99/84\a\x1b\\"
|
||||
printf "\033P\033]4;229;rgb:fa/ee/bb\007\033\\"
|
||||
printf "\033P\033]4;223;rgb:e6/d4/a3\007\033\\"
|
||||
printf "\033P\033]4;250;rgb:cb/b8/90\007\033\\"
|
||||
printf "\033P\033]4;248;rgb:af/9f/81\007\033\\"
|
||||
printf "\033P\033]4;246;rgb:97/87/71\007\033\\"
|
||||
|
||||
echo -ne "\x1bP\x1b]4;167;rgb:fb/49/34\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;142;rgb:b8/bb/26\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;214;rgb:fa/bd/2f\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;109;rgb:83/a5/98\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;175;rgb:d3/86/9b\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;108;rgb:8e/c0/7c\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;208;rgb:fe/80/19\a\x1b\\"
|
||||
printf "\033P\033]4;167;rgb:f7/30/28\007\033\\"
|
||||
printf "\033P\033]4;142;rgb:aa/b0/1e\007\033\\"
|
||||
printf "\033P\033]4;214;rgb:f7/b1/25\007\033\\"
|
||||
printf "\033P\033]4;109;rgb:71/95/86\007\033\\"
|
||||
printf "\033P\033]4;175;rgb:c7/70/89\007\033\\"
|
||||
printf "\033P\033]4;108;rgb:7d/b6/69\007\033\\"
|
||||
printf "\033P\033]4;208;rgb:fb/6a/16\007\033\\"
|
||||
|
||||
echo -ne "\x1bP\x1b]4;88;rgb:9d/00/06\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;100;rgb:79/74/0e\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;136;rgb:b5/76/14\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;24;rgb:07/66/78\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;96;rgb:8f/3f/71\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;66;rgb:42/7b/58\a\x1b\\"
|
||||
echo -ne "\x1bP\x1b]4;130;rgb:af/3a/03\a\x1b\\"
|
||||
fi
|
||||
printf "\033P\033]4;88;rgb:89/00/09\007\033\\"
|
||||
printf "\033P\033]4;100;rgb:66/62/0d\007\033\\"
|
||||
printf "\033P\033]4;136;rgb:a5/63/11\007\033\\"
|
||||
printf "\033P\033]4;24;rgb:0e/53/65\007\033\\"
|
||||
printf "\033P\033]4;96;rgb:7b/2b/5e\007\033\\"
|
||||
printf "\033P\033]4;66;rgb:35/6a/46\007\033\\"
|
||||
printf "\033P\033]4;130;rgb:9d/28/07\007\033\\"
|
||||
fi
|
||||
else
|
||||
echo -ne "\x1b]4;236;rgb:32/30/2f\x1b\\"
|
||||
echo -ne "\x1b]4;234;rgb:1d/20/21\x1b\\"
|
||||
printf "\033]4;236;rgb:26/24/23\033\\"
|
||||
printf "\033]4;234;rgb:16/18/19\033\\"
|
||||
|
||||
echo -ne "\x1b]4;235;rgb:28/28/28\x1b\\"
|
||||
echo -ne "\x1b]4;237;rgb:3c/38/36\x1b\\"
|
||||
echo -ne "\x1b]4;239;rgb:50/49/45\x1b\\"
|
||||
echo -ne "\x1b]4;241;rgb:66/5c/54\x1b\\"
|
||||
echo -ne "\x1b]4;243;rgb:7c/6f/64\x1b\\"
|
||||
printf "\033]4;235;rgb:1e/1e/1e\033\\"
|
||||
printf "\033]4;237;rgb:2e/2a/29\033\\"
|
||||
printf "\033]4;239;rgb:3f/39/35\033\\"
|
||||
printf "\033]4;241;rgb:53/4a/42\033\\"
|
||||
printf "\033]4;243;rgb:68/5c/51\033\\"
|
||||
|
||||
echo -ne "\x1b]4;244;rgb:92/83/74\x1b\\"
|
||||
echo -ne "\x1b]4;245;rgb:92/83/74\x1b\\"
|
||||
printf "\033]4;244;rgb:7f/70/61\033\\"
|
||||
printf "\033]4;245;rgb:7f/70/61\033\\"
|
||||
|
||||
echo -ne "\x1b]4;228;rgb:f4/e8/ba\x1b\\"
|
||||
echo -ne "\x1b]4;230;rgb:ff/ff/c8\x1b\\"
|
||||
printf "\033]4;228;rgb:ef/df/ae\033\\"
|
||||
printf "\033]4;230;rgb:f8/f4/cd\033\\"
|
||||
|
||||
echo -ne "\x1b]4;229;rgb:fd/f4/c1\x1b\\"
|
||||
echo -ne "\x1b]4;223;rgb:eb/db/b2\x1b\\"
|
||||
echo -ne "\x1b]4;250;rgb:d5/c4/a1\x1b\\"
|
||||
echo -ne "\x1b]4;248;rgb:bd/ae/93\x1b\\"
|
||||
echo -ne "\x1b]4;246;rgb:a8/99/84\x1b\\"
|
||||
printf "\033]4;229;rgb:fa/ee/bb\033\\"
|
||||
printf "\033]4;223;rgb:e6/d4/a3\033\\"
|
||||
printf "\033]4;250;rgb:cb/b8/90\033\\"
|
||||
printf "\033]4;248;rgb:af/9f/81\033\\"
|
||||
printf "\033]4;246;rgb:97/87/71\033\\"
|
||||
|
||||
echo -ne "\x1b]4;167;rgb:fb/49/34\x1b\\"
|
||||
echo -ne "\x1b]4;142;rgb:b8/bb/26\x1b\\"
|
||||
echo -ne "\x1b]4;214;rgb:fa/bd/2f\x1b\\"
|
||||
echo -ne "\x1b]4;109;rgb:83/a5/98\x1b\\"
|
||||
echo -ne "\x1b]4;175;rgb:d3/86/9b\x1b\\"
|
||||
echo -ne "\x1b]4;108;rgb:8e/c0/7c\x1b\\"
|
||||
echo -ne "\x1b]4;208;rgb:fe/80/19\x1b\\"
|
||||
printf "\033]4;167;rgb:f7/30/28\033\\"
|
||||
printf "\033]4;142;rgb:aa/b0/1e\033\\"
|
||||
printf "\033]4;214;rgb:f7/b1/25\033\\"
|
||||
printf "\033]4;109;rgb:71/95/86\033\\"
|
||||
printf "\033]4;175;rgb:c7/70/89\033\\"
|
||||
printf "\033]4;108;rgb:7d/b6/69\033\\"
|
||||
printf "\033]4;208;rgb:fb/6a/16\033\\"
|
||||
|
||||
echo -ne "\x1b]4;88;rgb:9d/00/06\x1b\\"
|
||||
echo -ne "\x1b]4;100;rgb:79/74/0e\x1b\\"
|
||||
echo -ne "\x1b]4;136;rgb:b5/76/14\x1b\\"
|
||||
echo -ne "\x1b]4;24;rgb:07/66/78\x1b\\"
|
||||
echo -ne "\x1b]4;96;rgb:8f/3f/71\x1b\\"
|
||||
echo -ne "\x1b]4;66;rgb:42/7b/58\x1b\\"
|
||||
echo -ne "\x1b]4;130;rgb:af/3a/03\x1b\\"
|
||||
printf "\033]4;88;rgb:89/00/09\033\\"
|
||||
printf "\033]4;100;rgb:66/62/0d\033\\"
|
||||
printf "\033]4;136;rgb:a5/63/11\033\\"
|
||||
printf "\033]4;24;rgb:0e/53/65\033\\"
|
||||
printf "\033]4;96;rgb:7b/2b/5e\033\\"
|
||||
printf "\033]4;66;rgb:35/6a/46\033\\"
|
||||
printf "\033]4;130;rgb:9d/28/07\033\\"
|
||||
fi
|
||||
|
||||
32
package.json
Normal file
32
package.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"name": "gruvbox",
|
||||
"version": "3.0.1-rc.0",
|
||||
"repository": "git@github.com:morhetz/gruvbox.git",
|
||||
"author": "Pavel Pertsev <morhetz@gmail.com>",
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"commitmsg": "validate-commit-msg",
|
||||
"cz": "git-cz",
|
||||
"postcheckout": "track-changed checkout",
|
||||
"postmerge": "track-changed merge",
|
||||
"postrewrite": "track-changed rewrite"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@bruitt/commit": "^1.0.0",
|
||||
"babel-runtime": "^6.26.0",
|
||||
"husky": "^0.13.1",
|
||||
"standard-version": "^4.3.0",
|
||||
"track-changed": "^1.0.2"
|
||||
},
|
||||
"config": {
|
||||
"commitizen": {
|
||||
"path": "./node_modules/cz-conventional-changelog"
|
||||
}
|
||||
},
|
||||
"track-changed": {
|
||||
"yarn.lock": "yarn"
|
||||
},
|
||||
"vim": {
|
||||
"opt": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user