Image URL

After executing :MakeTestPage in vim

As you can see in the image ...

underline(u),bold(b),bold-underline(bu) displays correctly

but what is happening to italic(i) ? It shows white background ...

Can anybody tell my why italic format shows white background rather than italic font?

I am using xterm as terminal emulator

my $term value is xterm-256color

link|improve this question
feedback

2 Answers

up vote 0 down vote accepted

xterm does not support an italic character attribute. You can change the appearance of a character by making it bold, underlined, reverse or colored, but not by changing its font to italic. The plugin is probably using reverse in place of italic.

link|improve this answer
thanks, it means xterm is a problem. So can you tell, the names of terminal that support italic char or is there any way italic char can be supported in xterm. – nitinmartolia Jan 11 at 17:34
According to the answer to this question, rxvt-unicode does. You could also use gvim instead of terminal vim. – garyjohn Jan 11 at 18:25
feedback

Support for italic varies across terminals. Xterm doesn't support it, but (e.g.) rxvt-unicode terminal does. The Txtfmt plugin always specifies "italic" in the Vim syntax definition, but a terminal that doesn't support italic may use reverse or something similar... Here's a thread that touches on this...

http://www.mail-archive.com/vim_use@googlegroups.com/msg06341.html

link|improve this answer
thanks for answer.. now that clears the issue.. – nitinmartolia Jan 16 at 21:10
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.