summaryrefslogtreecommitdiff
path: root/tmux.conf
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-06-25 11:36:04 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-06-25 11:36:04 +0100
commitf4012c9c1bdfa6fda187dc943c408f69f5aedb0e (patch)
treeeb86d09d8e1f3d33f2490e46a65faf76815076ce /tmux.conf
parente2d48b806e0e9719abbee2efff2d1af739979b94 (diff)
Add code snippets for good tmux colors
Diffstat (limited to 'tmux.conf')
-rw-r--r--tmux.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf
index 98127fa..989a487 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -1,4 +1,7 @@
# set -g default-terminal "screen-256color"
+set -g default-terminal screen
+if "[[ ${TERM} =~ 256color || ${TERM} == fbterm ]]" 'set -g default-terminal screen-256color'
+
set -g mode-mouse on
set -g mouse-resize-pane on
set -g mouse-select-pane on