20

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?

Kazark
  • 3,509

4 Answers4

18

I've tested a number of terminal emulators with echo -e "\e[3mfoo\e[23m" as suggested here. I went through the Arch wiki list, testing emulators in the official repositories.

Support italics

  • konsole 15.04.3
  • rxvt-unicode 9.21
  • tilda 1.2.4
  • xterm 318
  • gnome-terminal 3.16.2
  • pantheon-terminal 0.3.1.1
  • yakuake 2.9.9
  • roxterm 3.1.3
  • sakura 3.3.0
  • termite 10
  • mlterm 3.3.8
  • terminix 1.0.0
  • terminator 1.91
  • xfce4-terminal 0.8.5.1

Do not support italics

  • guake 0.7.2
  • lxterminal 0.2.0
  • rxvt 2.7.10
  • terminology 0.8.0
  • lilyterm 0.9.9.2
  • mate-terminal 1.10.1
  • xfce4-terminal 0.6.3
  • KiTTY 0.64.0.4
  • PuTTY 0.65 Beta
Sparhawk
  • 2,016
11

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

mpy
  • 28,816
osirisgothra
  • 387
  • 2
  • 7
6

rxvt-unicode

ak2
  • 3,785
2

I will add some modern terminals.

They all have support for italic text.

jdhao
  • 399