summaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-09-25 12:41:29 -0700
committerBen Sima <ben@bsima.me>2018-09-25 12:41:29 -0700
commit2a7711a9def46686a83d4244238923a42d16c3d1 (patch)
treea7838a722f13874e371e5538c8bb171b9a78e2d7 /tmux
parente1c829ba9bf9c266ce1ce6e1cfd80d4fdce0d5f2 (diff)
Add xterm-keys
Diffstat (limited to 'tmux')
-rw-r--r--tmux5
1 files changed, 3 insertions, 2 deletions
diff --git a/tmux b/tmux
index 13513a2..c797c11 100644
--- a/tmux
+++ b/tmux
@@ -14,6 +14,7 @@ set -g base-index 1
set-window-option -g automatic-rename on
set-option -g set-titles on
+set -g xterm-keys on
set -g default-terminal "screen-256color"
set -g status-keys vi
set -g history-limit 10000
@@ -37,13 +38,13 @@ bind-key M-l resize-pane -R
# Vim style pane selection
bind h select-pane -L
-bind j select-pane -D
+bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Use Alt-vim keys without prefix key to switch panes
bind -n M-h select-pane -L
-bind -n M-j select-pane -D
+bind -n M-j select-pane -D
bind -n M-k select-pane -U
bind -n M-l select-pane -R