150 Commits

Author SHA1 Message Date
divan
290893e14a Updated macOS truecolor scheme 2024-04-08 11:21:30 +07:00
Pavel Pertsev
f1ecde848f Update README.md 2023-08-14 16:04:06 +02:00
Pavel Pertsev
bf2885a95e Update README.md 2020-07-03 15:42:06 +03:00
Michiel Van Couwenberghe
040138616b Add support for coc.nvim (#309) 2020-02-23 07:05:55 +03:00
Chayoung You
f589394335 Fix link to Fira Mono (#262) (#273) 2020-02-23 06:46:31 +03:00
Pavel Pertsev
cb4e7a5643 Merge pull request #221 from thinca/remove-autocmd
Remove unnecessary autocmd
2018-02-25 06:50:04 +03:00
thinca
4174838e19 Remove unnecessary autocmd 2018-01-21 15:05:30 +09:00
Pavel Pertsev
16504d394e Update README.md 2017-10-01 01:06:00 +03:00
Pavel Pertsev
cfbf6990a8 Merge pull request #195 from magicmark/master
Add bold to lightline styles
2017-09-20 13:22:28 +03:00
Mark Larah
f5a8c62a94 Update gruvbox.vim 2017-09-20 00:21:14 -07:00
Mark Larah
d01875ddca Add 'bold' to *.left styling 2017-09-20 00:20:54 -07:00
Pavel Pertsev
76d2bd029f Fix opt 2017-08-20 15:23:32 +03:00
Pavel Pertsev
dffc9ba3d4 Migrate opt to package.json prop 2017-08-19 15:49:11 +03:00
Pavel Pertsev
4866297075 Fix opt symlinking 2017-08-19 15:33:06 +03:00
Pavel Pertsev
c1390722b2 Add package and symlink opt 2017-08-19 15:23:50 +03:00
Pavel Pertsev
2e52310094 Merge pull request #191 from antoinemadec/master
Lightline: add green color for neovim's 'terminal' mode
2017-08-19 00:59:47 +03:00
antoinemadec
1f08ac6c98 Lightline: add green color for neovim's 'terminal' mode 2017-08-18 12:08:27 -07:00
Pavel Pertsev
96f0b0c69e Better multiple-cursors plugin highlight (closes #121) 2017-08-12 17:46:23 +03:00
Pavel Pertsev
c458427759 Update README 2017-08-12 17:12:20 +03:00
Pavel Pertsev
086eb9ce22 Initial purescript support (closes #181) 2017-08-12 17:11:23 +03:00
Pavel Pertsev
4ec70c0c43 Better typescript support (closes #182) 2017-08-12 16:56:52 +03:00
Pavel Pertsev
a37e89fca3 Hi link > highlight 2017-08-12 16:41:32 +03:00
Pavel Pertsev
ee2d07f5e2 Support NERDTree, dirvish (closes #183, closes #124) 2017-08-12 16:19:01 +03:00
Pavel Pertsev
ac607b80a7 Fix airline theme color mappings 2017-08-12 14:26:26 +03:00
Pavel Pertsev
d5265fe63f Adjust vim-sneak autocmd 2017-08-12 13:58:13 +03:00
Pavel Pertsev
fca1a2f714 Adjust visual frames highlight 2017-08-12 07:07:09 +03:00
Pavel Pertsev
86fbb95593 Merge pull request #163 from yashmehrotra/patch-1
Add colors for Python's `try` and `except`
2017-08-12 06:28:58 +03:00
Pavel Pertsev
fc0e32faa6 Merge pull request #87 from kunev/python-additions
Add python conditionals, loops and dotted names
2017-08-12 06:26:49 +03:00
Pavel Pertsev
e5c6c3a359 Refactor terminal colors 2017-08-12 05:41:47 +03:00
Pavel Pertsev
6b493c552d Merge pull request #93 from ianks/master
Add terminal_colors for neovim
2017-08-12 05:27:41 +03:00
Pavel Pertsev
bc1a718e8f Small fix for ale integration 2017-08-12 05:21:46 +03:00
Pavel Pertsev
0cd11da803 Merge pull request #170 from ok100/plugin-ale
Add colorscheme for ALE plugin
2017-08-12 05:21:01 +03:00
Pavel Pertsev
658b76d7c5 Fix string colors which are reversed closes #145 2017-08-12 04:29:57 +03:00
Pavel Pertsev
7c30304a97 Merge pull request #150 from ninrod/master
closes #149
2017-08-12 03:48:23 +03:00
Pavel Pertsev
c55b2b8a6b Fix for vim-sneak 2017-08-12 03:21:55 +03:00
Pavel Pertsev
f06fe7f2ed Update js-syntax (pangloss & yajs) 2017-08-12 03:01:24 +03:00
Ondrej Kipila
416eaa92ba Add Info highlights for ALE plugin 2017-06-28 10:17:45 +02:00
Ondrej Kipila
d7c681d922 Add colorscheme for ALE plugin 2017-05-05 09:00:37 +02:00
Yash Mehrotra
28205e2497 Add colors for Python's try and except 2017-03-09 13:51:01 +05:30
Filipe Correa Lima da Silva
66bba4cb8e closes #149 2016-11-23 19:06:07 -02:00
Pavel Pertsev
127c9d14d4 Update README.md 2016-09-28 15:40:17 +04:00
Pavel Pertsev
c2c15907e9 Fix #132 2016-09-23 19:45:04 +03:00
Pavel Pertsev
00729ba14e Merge pull request #129 from BlakeWilliams/bmw-fix-elixir-module
Highlight elixir module declarations
2016-08-19 19:46:39 +04:00
Blake Williams
ac470ec415 Highlight elixir module declarations
The following commit in vim-elixir caused modules in module declarations
to no longer be highlighted yellow.

babcd09769

This adds a `elixirModuleDeclaration` highlight explicitly to make the
modules yellow again.
2016-08-18 14:32:28 -04:00
Pavel Pertsev
e9d8196ee4 Merge pull request #122 from ethe/master
Fix #120
2016-07-12 20:33:13 +04:00
Gwo
cf214c3e38 Change airline visual color 2016-07-10 13:30:33 +08:00
Zeno Guo
cfc76603cd Fix #120 2016-06-19 21:29:33 +08:00
Pavel Pertsev
d7f7f1951d fix typescript highlighting 2016-06-10 13:18:16 +03:00
Pavel Pertsev
2ea3298f23 fixes #103 2016-06-08 06:03:40 +03:00
Pavel Pertsev
65a695d2f3 whoops again #118 2016-06-08 05:59:23 +03:00
Pavel Pertsev
01134f34d2 whoops #113 2016-06-08 05:54:32 +03:00
Pavel Pertsev
e36636d007 fixes #110 2016-06-08 05:36:30 +03:00
Pavel Pertsev
5038636d26 Merge pull request #115 from synasius/fixed-106-light-bg0-color
fixed #106: modified light background color to fbf1c7
2016-06-08 06:10:31 +04:00
Pavel Pertsev
85633c514c fix #113 2016-06-08 05:05:53 +03:00
Federico Frenguelli
09c7412e82 fixed #106: modified light background color to fbf1c7 2016-04-20 16:39:45 +02:00
Pavel Pertsev
91bae68760 Merge pull request #109 from kshenoy/master
No more messy Signature variable assignment
2016-03-11 13:52:22 +03:00
Kartik Shenoy
fcbef6bdcc No more messy Signature variable assignment 2016-03-11 15:05:45 +05:30
Ian Ker-Seymer
c7b13d9872 Add terminal_colors for neovim
Neovim has support for embedded terminals. However, the colors do not inherit
from the parent shell settings, and end up looking funky. This commit adds 16
color support for Neovim's terminal.

See: https://github.com/neovim/neovim/issues/2897#issuecomment-115464516
2016-01-28 11:36:10 -05:00
Pavel Pertsev
3f228101cd Fixes #90 2016-01-11 10:43:36 +03:00
Pavel Pertsev
c97c520db1 Update README.md 2015-12-31 14:42:28 +03:00
Evgeni Kunev
766b079fc5 Add python conditionals, loops and dotted names 2015-11-10 15:17:10 +02:00
Pavel Pertsev
e4ba7abe5c fix memoized colors 2015-11-04 17:19:05 +03:00
Pavel Pertsev
824d1d64ba add memoized groups 2015-11-04 16:21:09 +03:00
Pavel Pertsev
246d7350de modify lighlint theme 2015-11-04 15:18:05 +03:00
Pavel Pertsev
1203da6591 Merge pull request #83 from gmoe/master
Added colorscheme for Lightline.
2015-11-04 14:01:21 +03:00
Griffin Moe
9310c8567f Updated README. 2015-11-02 06:43:23 -06:00
Griffin Moe
cda6b51ccf Added colorscheme for Lightline. 2015-11-01 08:12:29 -06:00
Pavel Pertsev
3dba3e9466 small fixes 2015-09-05 06:55:38 +03:00
Pavel Pertsev
1f930b7c34 group memoization through hi linking 2015-09-05 06:21:13 +03:00
Pavel Pertsev
0d03883418 optimize all the things 2015-09-05 03:53:27 +03:00
Pavel Pertsev
bff2e86054 fix stupid contrast deprecation test #73 2015-09-04 22:15:03 +03:00
Pavel Pertsev
7fde9c10ce Merge branch 'release/2.0' 2015-09-04 20:53:53 +03:00
Pavel Pertsev
6f10f00d60 Revert "deprecate hls cursor functions"
This reverts commit 6de3dc3793.
2015-09-04 19:38:14 +03:00
Pavel Pertsev
13f52ab26f guisp_fallback == 'bg' should invert highlight actually 2015-09-04 19:37:42 +03:00
Pavel Pertsev
80b22a4d41 Revert "Add guisp_bg color option for fallback=='bg'"
This reverts commit c3855773e2.
2015-09-04 18:53:08 +03:00
Pavel Pertsev
e389a5113f Add italic for TODO group #70 2015-09-03 16:34:48 +03:00
Pavel Pertsev
deb11e66ff Merge pull request #70 from jezenielzapanta/patch-1
Add italic for Todo highlight group
2015-09-03 16:32:52 +03:00
Jezeniel Zapanta
6ea0affbb7 Add italic for TODO group 2015-09-03 20:59:09 +08:00
Pavel Pertsev
c3855773e2 Add guisp_bg color option for fallback=='bg' 2015-09-03 02:46:29 +03:00
Pavel Pertsev
690b588378 fix guisp fallback 2015-09-03 02:25:09 +03:00
Pavel Pertsev
302470272b build brand new palette dictionary 2015-09-03 01:38:36 +03:00
Pavel Pertsev
2a5a99e9cc Add airline theme screenshots 2015-09-03 00:22:14 +03:00
Pavel Pertsev
a2f2bc9bdf Update README.md 2015-09-02 22:09:45 +03:00
Pavel Pertsev
34fb99a2c2 Update README.md 2015-09-02 22:04:18 +03:00
Pavel Pertsev
4075d8fd5e Update README.md 2015-09-02 21:05:55 +03:00
Pavel Pertsev
6de3dc3793 deprecate hls cursor functions 2015-09-02 18:47:04 +03:00
Pavel Pertsev
5ff71877fc rename colors 2015-09-02 18:46:29 +03:00
Pavel Pertsev
9af7261035 init 2015-09-02 18:34:12 +03:00
Pavel Pertsev
9f8868d073 Update README.md 2015-09-02 18:13:45 +03:00
Pavel Pertsev
e3916c06d8 Update README.md 2015-09-01 17:59:29 +03:00
Pavel Pertsev
1838bef5e7 Update README.md 2015-09-01 08:03:21 +03:00
Pavel Pertsev
d2b66b8083 fix palette shellscripts 2015-09-01 05:40:47 +03:00
Pavel Pertsev
3975304d56 Update README.md 2015-09-01 04:16:51 +03:00
Pavel Pertsev
56735e636d Update README.md 2015-09-01 04:14:50 +03:00
Pavel Pertsev
c20f2ab738 Update README.md 2015-09-01 04:13:29 +03:00
Pavel Pertsev
a9eb94ef85 Update README.md 2015-09-01 03:38:53 +03:00
Pavel Pertsev
483241795c Update README.md 2015-09-01 03:33:36 +03:00
Pavel Pertsev
dd1fe895bb Update README.md 2015-08-31 20:36:07 +03:00
Pavel Pertsev
5e9b157a77 Update README.md 2015-08-28 22:54:43 +03:00
Pavel Pertsev
326f69f36c support haskell syntax 2015-08-28 22:54:00 +03:00
Pavel Pertsev
289094bce9 es6 covered by yajs syntax 2015-08-20 14:26:11 +03:00
Pavel Pertsev
2499d62b56 Support for son and yajs 2015-08-20 14:24:48 +03:00
Pavel Pertsev
273c030ede Merge pull request #50 from amfl/guisp-guifg-override-option
Added an option to use guisp as guifg for terminal users
2015-07-05 16:57:27 +03:00
Pavel Pertsev
c526ba9aee Merge pull request #67 from isaachess/indentLine-defaults
indentLine defaults only applied if not supplied by user
2015-07-05 16:48:06 +03:00
Isaac Hess
92700c007a IndentLine defaults only applied if not supplied by user 2015-06-24 06:29:04 -06:00
amfl
577ef4a65a Changed to g:gruvbox_guisp_fallback, which takes 'fg' or 'bg' as an argument 2015-06-17 20:18:17 +12:00
amfl
3439f8c5a5 Added an option g:gruvbox_foreground_guisp to have guisp color override foreground color 2015-05-29 04:22:03 +00:00
Pavel Pertsev
705e68d90d indent guides fixes 2015-05-13 22:34:49 +03:00
Pavel Pertsev
5e20a2b15d indent guides defaults 2015-05-13 22:31:37 +03:00
Pavel Pertsev
2480e48880 Update README.md 2015-03-25 03:41:26 +03:00
Pavel Pertsev
b6a6b52702 Merge branch 'master' of https://github.com/morhetz/gruvbox 2015-03-25 03:12:29 +03:00
Pavel Pertsev
80591d87b1 Extended Markdown styles (#51, #56) 2015-03-25 03:11:43 +03:00
Pavel Pertsev
82c92c5066 Merge pull request #55 from skywinder/add-change-log-file
Add automatically generated change log file.
2015-03-18 11:24:37 +03:00
Petr Korolev
09505e562e Added automatically generated change log file 2015-03-18 09:09:09 +02:00
Pavel Pertsev
47df02e570 handle TERM_ITALICS variable 2015-03-12 00:38:22 +03:00
Pavel Pertsev
e52d140d6e Merge pull request #53 from jonasmalacofilho/fix-48
Fix the 256 palette script failed login issue
2015-03-10 20:36:03 +03:00
Jonas Malaco Filho
9bdd5254bc Fix the 256 palette script failed login issue
Fixes #48
2015-03-10 13:42:37 -03:00
Pavel Pertsev
ffe202e4e2 Merge pull request #52 from daniely/master
add minimal coloring for gitcommit highlighting
2015-03-02 13:04:23 +03:00
Daniel
bf7928aa7a add minimal coloring for gitcommit highlighting 2015-03-02 02:35:49 -05:00
Pavel Pertsev
cbe381d0d2 Turn off italics for terms corrected #47 2015-02-18 11:36:58 +03:00
Pavel Pertsev
ca1e855a8f Merge pull request #34 from gladiac/master
Improve gruvbox with C code
2015-01-24 23:59:25 +03:00
Andreas Schneider
aa4c37a849 Improve visibilty of errors in the source with YouCompleteMe.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-01-23 18:11:18 +01:00
Andreas Schneider
4c63ae1d92 Improve the readablity of strings.
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-01-23 18:09:05 +01:00
Pavel Pertsev
b7d8d25b4a Fix vim-signature #38 2014-11-18 20:55:35 +03:00
Pavel Pertsev
0e9c476f63 colorcolumn option 2014-11-12 02:27:23 +03:00
Pavel Pertsev
add6f2d3cc Update README.md 2014-11-10 05:20:28 +03:00
Pavel Pertsev
155430669f Initial Scala syntax support 2014-11-10 05:09:31 +03:00
Pavel Pertsev
e5cd7f95b5 rainbow hotfix 2014-11-10 02:46:19 +03:00
Pavel Pertsev
891cbe898e Elixir lang highlighting 2014-11-10 02:38:58 +03:00
Pavel Pertsev
3f711ed0f5 Fix rainbow parentheses and niji support 2014-11-10 02:36:53 +03:00
morhetz
1e2ab2027c Adjusted light hard contrast bg 2014-09-06 14:10:23 +04:00
morhetz
5f12296890 Slightly changed light bg colors 2014-09-06 13:35:43 +04:00
Pavel Pertsev
aceff65285 Update README.md 2014-09-01 05:27:32 +04:00
Pavel Pertsev
5b39b67b93 Splitted contrast options 2014-09-01 05:01:29 +04:00
Pavel Pertsev
d1a55f7c2d Add g:gruvbox_invert_tabline option 2014-08-23 01:36:21 +04:00
Pavel Pertsev
de2d8aba76 Extend 256-scrpit fallback ttys 2014-08-23 01:26:43 +04:00
Pavel Pertsev
82f323a5d7 Merge pull request #27 from jumpwah/master
Fix for linux console
2014-08-23 00:56:39 +04:00
Pavel Pertsev
f90fff7d64 Provide Airline theme #19 2014-08-23 00:03:05 +04:00
Pavel Pertsev
4c31ffa97d Introduced 'g:gruvbox_vert_split' option #31 2014-08-22 03:43:51 +04:00
Pavel Pertsev
bbe9c0e188 Change light contrast colors 2014-08-22 03:34:26 +04:00
jumpwah
84d074632f Fix for linux console 2014-06-01 13:06:41 +10:00
Pavel Pertsev
d9df993b4c Update README.md 2014-04-15 11:31:33 +04:00
morhetz
3502bb972a Fixing #24 2014-04-10 02:25:26 +04:00
morhetz
c12826b69a gruvbox#bg_toggle() is redundant 2014-04-09 02:36:13 +04:00
Pavel Pertsev
8e08381e23 Update README.md 2014-04-09 02:15:39 +04:00
Pavel Pertsev
f14b625a67 Merge pull request #21 from joelmo/master
Colors for plugin vimshell.vim
2014-04-09 02:11:45 +04:00
Pavel Pertsev
dd1713bf39 Update README.md 2014-04-08 04:02:56 +04:00
morhetz
cad9d5e88d Totally redefining iterm colors, doh #8 2014-04-08 03:26:34 +04:00
Joel Moberg
d1d73e198c Colors for plugin vimshell.vim 2014-03-22 22:52:21 +01:00
Pavel Pertsev
0b0c26c25f Update README.md 2014-03-19 09:57:54 +03:00
9 changed files with 1573 additions and 943 deletions

117
CHANGELOG.md Normal file
View File

@@ -0,0 +1,117 @@
# Change Log
## [Unreleased](https://github.com/morhetz/gruvbox/tree/HEAD)
[Full Changelog](https://github.com/morhetz/gruvbox/compare/v1.3.5...HEAD)
**Fixed bugs:**
- Lighter background on terminal [\#8](https://github.com/morhetz/gruvbox/issues/8)
**Closed issues:**
- Installation issue. [\#54](https://github.com/morhetz/gruvbox/issues/54)
- Italic font in terminal\(urxvt\) [\#49](https://github.com/morhetz/gruvbox/issues/49)
- Unable to log in when sourcing the palette shellscript [\#48](https://github.com/morhetz/gruvbox/issues/48)
- How can i modify multiple comment scheme [\#46](https://github.com/morhetz/gruvbox/issues/46)
- Remove comment highlight in iterm [\#44](https://github.com/morhetz/gruvbox/issues/44)
- Comments looking strange withing tmux [\#43](https://github.com/morhetz/gruvbox/issues/43)
- comments are reverse-video in xterm [\#41](https://github.com/morhetz/gruvbox/issues/41)
- What font are you using in the screenshots? [\#39](https://github.com/morhetz/gruvbox/issues/39)
- vim-signature crashes when I use gruvbox [\#38](https://github.com/morhetz/gruvbox/issues/38)
- Color of statusbar in inactive windows [\#37](https://github.com/morhetz/gruvbox/issues/37)
- Go method and struct highlighting missing [\#36](https://github.com/morhetz/gruvbox/issues/36)
- gruvbox\_256palette.sh doesn't work for Konsole [\#35](https://github.com/morhetz/gruvbox/issues/35)
- Contrast in jekyll markdown files [\#33](https://github.com/morhetz/gruvbox/issues/33)
- Pentadactyl Gruvbox Theme [\#32](https://github.com/morhetz/gruvbox/issues/32)
- make vertsplit better [\#31](https://github.com/morhetz/gruvbox/issues/31)
- Console support. [\#30](https://github.com/morhetz/gruvbox/issues/30)
- How can I change the background color? [\#29](https://github.com/morhetz/gruvbox/issues/29)
- Some words are not bold [\#28](https://github.com/morhetz/gruvbox/issues/28)
- Terminal theme on base gruvbox [\#25](https://github.com/morhetz/gruvbox/issues/25)
- Markdown has inverted colors when using \* [\#24](https://github.com/morhetz/gruvbox/issues/24)
- how install it on mac osx [\#23](https://github.com/morhetz/gruvbox/issues/23)
- Comments color for Terminal Vim [\#22](https://github.com/morhetz/gruvbox/issues/22)
- Move palette files to gruvbox-generalized [\#20](https://github.com/morhetz/gruvbox/issues/20)
- Maybe add Gruvbox Airline theme? [\#19](https://github.com/morhetz/gruvbox/issues/19)
- For Sublime text [\#18](https://github.com/morhetz/gruvbox/issues/18)
**Merged pull requests:**
- Fix the 256 palette script failed login issue [\#53](https://github.com/morhetz/gruvbox/pull/53) ([jonasmalacofilho](https://github.com/jonasmalacofilho))
- add minimal coloring for gitcommit highlighting [\#52](https://github.com/morhetz/gruvbox/pull/52) ([daniely](https://github.com/daniely))
- For terminals, turn off italics by default. [\#47](https://github.com/morhetz/gruvbox/pull/47) ([ryanmjacobs](https://github.com/ryanmjacobs))
- Change color of vertical/horizontal seperators between split windows [\#45](https://github.com/morhetz/gruvbox/pull/45) ([deshtop](https://github.com/deshtop))
- Improve gruvbox with C code [\#34](https://github.com/morhetz/gruvbox/pull/34) ([gladiac](https://github.com/gladiac))
- Fix for linux console [\#27](https://github.com/morhetz/gruvbox/pull/27) ([vyp](https://github.com/vyp))
- Colors for plugin vimshell.vim [\#21](https://github.com/morhetz/gruvbox/pull/21) ([joelmo](https://github.com/joelmo))
## [v1.3.5](https://github.com/morhetz/gruvbox/tree/v1.3.5) (2014-03-19)
[Full Changelog](https://github.com/morhetz/gruvbox/compare/v0.0.8...v1.3.5)
**Implemented enhancements:**
- Better selection colors [\#15](https://github.com/morhetz/gruvbox/issues/15)
- When hlsearch is on, the cursor inverts the search color and not visible [\#2](https://github.com/morhetz/gruvbox/issues/2)
**Fixed bugs:**
- Problem with changing between dark and light on 256 color terminal [\#7](https://github.com/morhetz/gruvbox/issues/7)
- IndentGuides coloring doesn't show up [\#1](https://github.com/morhetz/gruvbox/issues/1)
**Closed issues:**
- Requesting rxvt-unicode theme [\#17](https://github.com/morhetz/gruvbox/issues/17)
- gruvbox\_256palette.sh gets reset \(gnome-terminal on Ubuntu\) [\#13](https://github.com/morhetz/gruvbox/issues/13)
- Powerline colors [\#12](https://github.com/morhetz/gruvbox/issues/12)
- Info necessary for making a port of this colorscheme [\#10](https://github.com/morhetz/gruvbox/issues/10)
**Merged pull requests:**
- Fix GNU screen detection for \*-bce [\#16](https://github.com/morhetz/gruvbox/pull/16) ([blueyed](https://github.com/blueyed))
- Added iTerm2 dark theme [\#11](https://github.com/morhetz/gruvbox/pull/11) ([Greduan](https://github.com/Greduan))
- Fix typo in Readme [\#5](https://github.com/morhetz/gruvbox/pull/5) ([ViViDboarder](https://github.com/ViViDboarder))
## [v0.0.8](https://github.com/morhetz/gruvbox/tree/v0.0.8) (2012-12-08)
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*

219
README.md
View File

@@ -1,16 +1,20 @@
gruvbox
=======
<p align="center"><img src="https://morhetz.com/gruvbox.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](https://mozilla.github.io/Fira/)
Screenshots
-----------
@@ -20,18 +24,49 @@ Refer [Gallery][] for more syntax-specific screenshots.
### Dark mode
![Screenshot](http://i.imgur.com/2870c.png)
![Screenshot Dark](http://i.imgur.com/GkIl8Fn.png)
### Light mode
![Screenshot](http://i.imgur.com/oS9I3.png)
![Screenshot Light](http://i.imgur.com/X75niEa.png)
### Airline theme
![Screenshot Airline](http://i.imgur.com/wRQceUR.png)
Palette
-------
### Dark mode
![Palette Dark](http://i.imgur.com/wa666xg.png)
### Light mode
![Palette Light](http://i.imgur.com/49qKyYW.png)
Contrast options
----------------
Refer [wiki section][] for contrast configuration and other options.
[wiki section]: https://github.com/morhetz/gruvbox/wiki/Configuration#ggruvbox_contrast_dark
![Contrast Options](http://i.imgur.com/5MSbe6T.png)
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
-------

View 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:

View File

@@ -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:

View 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

File diff suppressed because it is too large Load Diff

View File

@@ -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

View File

@@ -1,116 +1,71 @@
#!/bin/sh
colors=(
# --- Background shades (used in layers, UI sections) ---
"234=16/18/19" # bg0_h - very dark background
"235=1e/1e/1e" # bg0 - base background
"236=26/24/23" # bg1 - slightly lighter bg
"237=2e/2a/29" # bg2 - line numbers, subtle bg
"239=3f/39/35" # bg3 - border lines, splitbars
"241=53/4a/42" # bg4 - cursor line bg, subtle contrast
"243=68/5c/51" # bg5 - low contrast UI elements
# --- Faded foreground / comments / subdued text ---
"244=7f/70/61" # gray1 - comments
"245=7f/70/61" # gray2 - docstrings, hints (same as gray1)
# --- Main foreground and subtle variants ---
"250=cb/b8/90" # fg - default foreground text
"248=af/9f/81" # fg1 - slightly faded text
"246=97/87/71" # fg2 - further dimmed
# --- Light background highlights (e.g. selection, search) ---
"228=ef/df/ae" # yellow1 - selection bg
"229=fa/ee/bb" # yellow2 - search highlight bg
"230=f8/f4/cd" # lightest - special highlights
"223=e6/d4/a3" # alt highlight bg
# --- Core Gruvbox accent colors ---
"167=f7/30/28" # red - errors, removals
"142=aa/b0/1e" # green - additions, success
"214=f7/b1/25" # yellow - warnings
"175=c7/70/89" # purple - function names, git renamed
"108=7d/b6/69" # aqua - type hints, diffs
"109=71/95/86" # teal - status bars, cursor
"208=fb/6a/16" # orange - search match, bright UI
# --- Darker accent variants for backgrounds or subtle diff ---
"88=89/00/09" # red dark - error background
"100=66/62/0d" # green dark - diff bg
"136=a5/63/11" # yellow dark - change marker
"130=9d/28/07" # orange dark - symbol/markup
"24=0e/53/65" # blue dark - info, links
"96=7b/2b/5e" # purple dark - markdown, hint bg
"66=35/6a/46" # green deep - background diff +
)
# Detect terminal escape sequence wrapping
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\\"
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\\"
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\\"
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\\"
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\\"
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\\"
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\\"
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\\"
echo -ne "\x1bP\x1b]4;244;rgb:92/83/74\a\x1b\\"
echo -ne "\x1bP\x1b]4;245;rgb:92/83/74\a\x1b\\"
echo -ne "\x1bP\x1b]4;228;rgb:f4/e8/ba\a\x1b\\"
echo -ne "\x1bP\x1b]4;230;rgb:ff/ff/c8\a\x1b\\"
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\\"
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\\"
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
if [ -n "$TMUX" ]; then
prefix="\033Ptmux;\033"
suffix="\033\\"
else
prefix="\033P"
suffix="\033\\"
fi
else
echo -ne "\x1b]4;236;rgb:32/30/2f\x1b\\"
echo -ne "\x1b]4;234;rgb:1d/20/21\x1b\\"
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\\"
echo -ne "\x1b]4;244;rgb:92/83/74\x1b\\"
echo -ne "\x1b]4;245;rgb:92/83/74\x1b\\"
echo -ne "\x1b]4;228;rgb:f4/e8/ba\x1b\\"
echo -ne "\x1b]4;230;rgb:ff/ff/c8\x1b\\"
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\\"
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\\"
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\\"
prefix=""
suffix="\033\\"
fi
# Apply one color index+value to the terminal palette
set_color() {
index="${1%%=*}"
value="${1#*=}"
printf "${prefix}\033]4;%s;rgb:%s\007${suffix}" "$index" "$value"
}
# Loop over all defined colors
for color in "${colors[@]}"; do
set_color "$color"
done

10
package.json Normal file
View File

@@ -0,0 +1,10 @@
{
"name": "gruvbox",
"version": "2.0.0",
"repository": "git@github.com:morhetz/gruvbox.git",
"author": "Pavel Pertsev <morhetz@gmail.com>",
"license": "MIT",
"vim": {
"opt": true
}
}