From b1fac282570086ac4b523f20f985ff1414452f99 Mon Sep 17 00:00:00 2001 From: Pavel Pertsev Date: Thu, 19 Feb 2015 15:53:50 +0300 Subject: [PATCH] Updating terminal italics notes #49 --- Terminal-specific.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Terminal-specific.md b/Terminal-specific.md index 7ca6bd8..294e5ac 100644 --- a/Terminal-specific.md +++ b/Terminal-specific.md @@ -4,13 +4,9 @@ First of all you should check this screenshot, as how it **shouldn't** look: ![Screenshot](https://camo.githubusercontent.com/26c7f6f2495059d00675afe881d2e4709f0801ad/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f323331343037342f313236323431302f37326165323337362d326333652d313165332d383330622d3063363235376434656462362e706e67) ### 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.