aboutsummaryrefslogtreecommitdiffstats
path: root/_tmux.conf
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-11-10 09:32:44 +0800
committerAaron LI <aly@aaronly.me>2018-11-10 09:32:44 +0800
commit49110ec450ed891c3915122f3da412fa6a38aa39 (patch)
tree270258a05d7a7e759681ee5490037864eb338e2b /_tmux.conf
parent17b256c4c04931a1c8f7c85a91b3d30e575da77f (diff)
downloaddotfiles-49110ec450ed891c3915122f3da412fa6a38aa39.tar.bz2
tmux: Set default-terminal to tmux-256color
Clean up a bit.
Diffstat (limited to '_tmux.conf')
-rw-r--r--_tmux.conf27
1 files 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.