From 2a7711a9def46686a83d4244238923a42d16c3d1 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 25 Sep 2018 12:41:29 -0700 Subject: Add xterm-keys --- tmux | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tmux') 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 -- cgit v1.2.3