Skip to content

Commit

Permalink
Add support for italics in tmux
Browse files Browse the repository at this point in the history
  • Loading branch information
cowboy committed Feb 6, 2018
1 parent c214d45 commit f8cc8ab
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
13 changes: 13 additions & 0 deletions conf/tic/tmux-256color-italic.terminfo
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# A xterm-256color based TERMINFO that adds the escape sequences for italic.
#
# Install:
#
# tic xterm-256color-italic.terminfo
#
# Usage:
#
# export TERM=xterm-256color-italic
#
tmux-256color-italic|tmux with 256 colors and italic,
sitm=\ePtmux;\e\E[3m\e\\, ritm=\ePtmux;\e\E[23m\e\\,
use=screen-256color,
Binary file added link/.terminfo/t/tmux-256color-italic
Binary file not shown.
3 changes: 1 addition & 2 deletions link/.tmux.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
source "$POWERLINE_PREFIX/bindings/tmux/powerline.conf"

# -- general -------------------------------------------------------------------

set -g default-terminal "screen-256color" # colors!
set -g default-terminal "tmux-256color-italic" # color and italics!
setw -g xterm-keys on
set -s escape-time 0 # fastest command sequences
set -sg repeat-time 600 # increase repeat timeout
Expand Down

0 comments on commit f8cc8ab

Please sign in to comment.