summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2021-01-20 09:28:55 +0100
committerAndreas Schneider <asn@cryptomilk.org>2021-01-20 09:28:55 +0100
commitb8effc67dac697c984745c93d6d08f1f88e6aacf (patch)
tree3b65de1afec88516a866800ee6c5b9a624f83274
parent886fbf1e8e2892ea7483c7cddfaf54801ba003be (diff)
downloaddotfiles-b8effc67dac697c984745c93d6d08f1f88e6aacf.tar.gz
dotfiles-b8effc67dac697c984745c93d6d08f1f88e6aacf.tar.xz
dotfiles-b8effc67dac697c984745c93d6d08f1f88e6aacf.zip
tmux: Fix HOME and END keys
-rw-r--r--tmux/.tmux.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf
index 5a62253..bde254c 100644
--- a/tmux/.tmux.conf
+++ b/tmux/.tmux.conf
@@ -50,7 +50,11 @@ bind R new-window -n 'root' 'sudo -i'
# set term to truecolor
set-option -ga terminal-overrides ',*:Tc'
-set -g default-terminal "screen-256color"
+set -g default-terminal "tmux-256color"
+
+# Fix home and end keys
+bind-key -n Home send Escape "OH"
+bind-key -n End send Escape "OF"
# address vim mode switching delay (http://superuser.com/a/252717/65504)
set -s escape-time 0