mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-17 15:53:38 -05:00
Recent Vim supports termguicolors as well.
@@ -11,13 +11,14 @@ Most terminals don't handle italics right so gruvbox disables italics for termin
|
||||
By default gruvbox will act as usual 256-color theme, but colors wouldn't be that vivid due to limitations of 256-palette. Compare the **wrong** screenshot above with README preview or any from the [Gallery](https://github.com/morhetz/gruvbox/wiki/Gallery). The difference isn't edgy, but pretty visible enough (changes in red color and shades of gray should be most noticeable). You could run vim in terminal and GUI version side by side.
|
||||
|
||||
There are four possible ways to get right colors at the terminal:
|
||||
- using neovim
|
||||
- using neovim/recent vim
|
||||
- using 256-color gruvbox palette shellscript
|
||||
- using terminal 16-color base colorscheme
|
||||
- using urxvt-256-xresources
|
||||
|
||||
##### 0. (Recommended) Neovim True Color support
|
||||
Neovim supports true color terminal out of the box with just a single configuration option. No workarounds anymore. See [this Neovim FAQ entry](https://github.com/neovim/neovim/wiki/FAQ#how-can-i-use-true-colors-in-the-terminal). Also check these related sources (note that Neovim previously used an environment variable instead of a configuration option to enable True Color support):
|
||||
##### 0. (Recommended) Neovim/Vim True Color support
|
||||
|
||||
Neovim and recent Vim support true color terminal out of the box with just a single configuration option. No workarounds anymore. Just add `set termguicolors` to your `$VIMRC`. Also see [this Gist](https://gist.github.com/XVilka/8346728) for a list of supported terminals. These older, related sources might still be useful (note that Neovim previously used an environment variable instead of a configuration option to enable True Color support):
|
||||
|
||||
[Neovim + Item2 + Truecolor = Awesome](https://medium.com/@ericclifford/neovim-item2-truecolor-awesome-70b975516849)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user