mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-17 07:43:38 -05:00
Updating terminal italics notes #49
@@ -4,13 +4,9 @@ First of all you should check this screenshot, as how it **shouldn't** look:
|
||||

|
||||
|
||||
### Issues
|
||||
#### 1. Italics gets inverted
|
||||
Most terminals doesn't handle italics so the text, that must be italicized, goes inverted instead. To prevent that disable `g:gruvbox_italic` option at your .vimrc:
|
||||
```
|
||||
if !has("gui_running")
|
||||
let g:gruvbox_italic=0
|
||||
endif
|
||||
```
|
||||
#### 1. Italics is disabled
|
||||
Most terminals doesn't handle italics right so gruvbox disables italics for terminals by default. But if you're using urxvt or gnome-terminal you should try setting `let g:gruvbox_italic=0` before `colorscheme gruvbox` to force displaying italics
|
||||
|
||||
#### 2. Colors are off
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user