From 49110ec450ed891c3915122f3da412fa6a38aa39 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sat, 10 Nov 2018 09:32:44 +0800 Subject: tmux: Set default-terminal to tmux-256color Clean up a bit. --- _tmux.conf | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/_tmux.conf b/_tmux.conf index 4514cde..0596bb7 100644 --- a/_tmux.conf +++ b/_tmux.conf @@ -1,25 +1,5 @@ # # ~/.tmux.conf -# ------------ -# See tmux(1) for more information -# -# -# References -# ---------- -# [1] tmux: Productive Mouse-Free Development (by Brian P. Hogan) -# https://pragprog.com/book/bhtmux/tmux -# [2] Making tmux Pretty and Usable - A Guide to Customizing your tmux.conf -# http://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/ -# [3] ArchWiki - Tmux -# https://wiki.archlinux.org/index.php/tmux -# [4] Practical Tmux -# http://mutelight.org/practical-tmux -# [5] Tmux Plugin Manager -# https://github.com/tmux-plugins/tpm -# [6] Tmux themepack -# https://github.com/jimeh/tmux-themepack -# [7] Oh My Tmux! -# https://github.com/gpakosz/.tmux # # Tips # ---- @@ -66,12 +46,9 @@ set -g history-limit 10000 # Turn on xterm-keys so that additional function keys get escape sequences set -g xterm-keys on -# Change the default $TERM to screen-256color -# * xterm-256color for tmux may have problem with special keys in zsh -# * tmux-256color may not be recognized, e.g., DragonFlyBSD -set -g default-terminal "screen-256color" +set -g default-terminal "tmux-256color" -# Enable RGB colour if running in xterm(1) +# Enable true (RGB) color set -sa terminal-overrides ",xterm*:Tc" # Override terminal's default Cr (color reset) to avoid the strange # 'char+112' when just exited the tmux session. -- cgit v1.2.2