Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to replace gvim with vim in the terminal. One of the nice things about gvim is that it is able to display text using italics.

Vim allows setting an ANSI escape code for italics (\e[3m), but this does not work in gnome-terminal. Is there a terminal emulator that supports the ANSI escape code for italics?

share|improve this question
    
Are you certain that this is an official ANSI escape code? –  Thorbjørn Ravn Andersen Oct 29 '10 at 11:36
    
No, I'm not :) Some sources mention it as a valid code though, e.g. en.wikipedia.org/wiki/ANSI_escape_code –  Ton van den Heuvel Oct 29 '10 at 11:43
    
That Wikipedia page shows \e[3m (3 rather than 2) which agrees with tput -T rxvt-unicode sitm|hexdump -C. –  Dennis Williamson Oct 29 '10 at 18:55
    
Indeed, thanks, I've edited the question. –  Ton van den Heuvel Oct 30 '10 at 12:30
add comment

2 Answers

up vote 4 down vote accepted

rxvt-unicode

share|improve this answer
add comment

GNOME Terminal (3.6.1) supports italics via \e[3m.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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