Browse Source

Support true colors and italics in tmux and vim.

main
Titouan Rigoudy 3 years ago
committed by Titouan Rigoudy
parent
commit
174fcb2a7b
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      tmux.conf

+ 4
- 2
tmux.conf View File

@ -21,8 +21,10 @@ bind h split-window -v
# Enable vi-like key bindings for navigating around buffers. # Enable vi-like key bindings for navigating around buffers.
set-window-option -g mode-keys vi set-window-option -g mode-keys vi
# Force tmux to consider the enclosing terminal true-color-capable.
set -ga terminal-overrides ',screen-256color:Tc'
# Enable italics and true color.
# See https://herrbischoff.com/2020/08/how-to-enable-italics-in-tmux/.
set -g default-terminal "tmux"
set-option -sa terminal-overrides ',xterm*:Tc'
# List of plugins # List of plugins
set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tpm'


Loading…
Cancel
Save