Created
August 9, 2019 06:57
-
-
Save sampollard/cb18cbbdef922496e02c1a3856991f7d to your computer and use it in GitHub Desktop.
Italics in ITerm2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A xterm-256color based TERMINFO that adds the escape sequences for italic. | |
# Follow instructions at | |
# https://apple.stackexchange.com/questions/266333/how-to-show-italic-in-vim-in-iterm2 | |
# Basically, check italic text in settings, then type | |
# tic -o ~/.terminfo xterm-256color.terminfo.txt | |
# and make sure to export TERM=xterm-256color in your ~/.profile | |
xterm-256color|xterm with 256 colors and italic, | |
sitm=\E[3m, ritm=\E[23m, | |
use=xterm-256color, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment