Skip to content

Commit

Permalink
Add tmux terminfo binary (allows italics in terminal)
Browse files Browse the repository at this point in the history
Check:
- tmux/tmux#377 (comment)
- https://alexpearce.me/2014/05/italics-in-iterm2-vim-tmux/

It basically boils down to:
```sh
$ cat tmux-256color-italic.terminfo
tmux-256color-italic|tmux with 256 colors and italic,
        sitm=\E[3m, ritm=\E[23m,
	        use=screen-256color,
$ tic tmux-256color-italic.terminfo
```
  • Loading branch information
dreamtigers committed Jul 15, 2019
1 parent c8a508b commit 3f7da6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added .terminfo/t/tmux-256color-italic
Binary file not shown.
2 changes: 1 addition & 1 deletion .tmux.conf
Expand Up @@ -16,7 +16,7 @@
# OPTIONS (man tmux)
# ---------------------------------------------------------------------
# Improve colors
set-option -g default-terminal "tmux-256color"
set-option -g default-terminal "tmux-256color-italic"
set-option -ga terminal-overrides ",xterm-256color:Tc"

# Set wait time when pressing the escape key to 0 milliseconds.
Expand Down

0 comments on commit 3f7da6d

Please sign in to comment.