From f4b76cfd5803ac91e3e37d4aa8ea3af1b535bb5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20N=C3=A4gele?= Date: Tue, 12 Nov 2013 10:23:09 +0100 Subject: [PATCH] tmux remote fix for arrow keys did not work, alternate bindings now --- tmux.conf | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tmux.conf b/tmux.conf index d1ad3ab..4d7bf75 100644 --- a/tmux.conf +++ b/tmux.conf @@ -2,8 +2,6 @@ set -g alternate-screen on # dont respect smaller windows setw -g aggressive-resize on -# allow arrow keys to pass to inner sessions -set -g terminal-overrides "screen*:kLFT5=\eOD:kRIT5=\eOC:kUP5=\eOA:kDN5=\eOB:smkx@:rmkx@" # command prefix unbind C-b @@ -43,10 +41,10 @@ bind -r C-h run "tmux select-pane -L" bind -r C-j run "tmux select-pane -D" bind -r C-k run "tmux select-pane -U" bind -r C-l run "tmux select-pane -R" -bind -r C-Down resize-pane -D 2 -bind -r C-Up resize-pane -U 2 -bind -r C-Left resize-pane -L 2 -bind -r C-Right resize-pane -R 2 +bind -r S-j resize-pane -D 2 +bind -r S-k resize-pane -U 2 +bind -r S-h resize-pane -L 2 +bind -r S-l resize-pane -R 2 bind-key b command-prompt -p "create pane from:" "join-pane -s ':%%'" bind-key v command-prompt -p "send pane to:" "join-pane -t ':%%'"