mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-17 07:43:38 -05:00
Updated Terminal specific (markdown)
@@ -32,11 +32,20 @@ where `~/.vim/bundle/` is your preferred plugin manager bundles installation pat
|
||||
|
||||
##### b. terminal 16-color base colorscheme
|
||||
|
||||
This is a loose solution as you should set gruvbox as your terminal colorscheme and only 10 main colors of the whole gruvbox palette would be overloaded. But in the case of troubles with gruvbox-shellscript this is the only way to get precise colors at the terminal. First of all, let's define `g:gruvbox_termcolors` option at your .vimrc:
|
||||
```
|
||||
let g:gruvbox_termcolors=16
|
||||
```
|
||||
This way gruvbox would pick base colors right from your terminal colorscheme. Refer [color.table](https://github.com/morhetz/gruvbox-generalized/blob/master/color.table) for gruvbox ↔ termcolors correlation.
|
||||
Next thing you'd need is gruvbox terminal colorscheme. You could pick both dark and light Xresources versions from [gruvbox-generalized](https://github.com/morhetz/gruvbox-generalized/tree/master/xresources) repo.
|
||||
|
||||
##### c. urxvt-256-xresources
|
||||
|
||||
If you're on Arch Linux and using [urxvt-256-xresources](https://aur.archlinux.org/packages/rxvt-unicode-256xresources) you could try setting 256-color gruvbox palette at your Xresources same way as it's provided at [gruvbox-generalized](https://github.com/morhetz/gruvbox-generalized) repo. Take a look at [gruvbox-urxvt256.xresources](https://github.com/morhetz/gruvbox-generalized/blob/master/urxvt256/gruvbox-urxvt256.xresources) for details. This should do the same thing as gruvbox 256-color palette shellscript, but the result would be fixed to urxvt only.
|
||||
|
||||
### Troubleshooting
|
||||
#### 1. 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.
|
||||
That's known issue with Ubuntu GTK-themes and//or VTE-based terminals. 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. There is **no** known solution//workaround to fix this. If you're disappointed with such behavior, please report issues to terminal developers, there no thing I can currently do with that.
|
||||
|
||||
[1]: https://github.com/morhetz/gruvbox/issues/13#issuecomment-30063099
|
||||
Reference in New Issue
Block a user