From 5df957d218bf0107be0849db65b1f55e53cfdf99 Mon Sep 17 00:00:00 2001 From: Pavel Pertsev Date: Tue, 8 Apr 2014 14:58:32 -0700 Subject: [PATCH] Updated Terminal specific (markdown) --- Terminal-specific.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Terminal-specific.md b/Terminal-specific.md index ce1e383..8a0c8aa 100644 --- a/Terminal-specific.md +++ b/Terminal-specific.md @@ -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 \ No newline at end of file