summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Beattie <mike@ethernal.org>2019-12-06 11:26:03 +0000
committerMike Beattie <mike@ethernal.org>2019-12-06 11:26:03 +0000
commit26465bcd3ee2aa55a184d74778b65703d94a603d (patch)
treea09f39fb0abbc3532a592ea90a723ba57d9e0ae8
parent82e29be5d5a7572f474ed21ad41b61dd87ec48b2 (diff)
TMUX: turn off mouse support, and use xterm's termcap for scrolling
Signed-off-by: Mike Beattie <mike@ethernal.org>
-rw-r--r--.tmux.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 638c017..9ace2c5 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -9,6 +9,10 @@ set -g default-terminal "tmux-256color"
# Enable mouse support
set -g mouse on
+# Enable scrolling with the mouse using termcap
+set -g terminal-overrides 'xterm*:smcup@:rmcup@'
+set -g mouse off
+
# Window titles.
set -g set-titles on
set -g set-titles-string "[ #H.#S.#I ] [ #W ] [ #T ] #{session_alerts}"