tmux remote fix for arrow keys did not work, alternate bindings now

master
Daniel Nägele 11 years ago
parent bf95364adb
commit f4b76cfd58
  1. 10
      tmux.conf

@ -2,8 +2,6 @@
set -g alternate-screen on set -g alternate-screen on
# dont respect smaller windows # dont respect smaller windows
setw -g aggressive-resize on 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 # command prefix
unbind C-b 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-j run "tmux select-pane -D"
bind -r C-k run "tmux select-pane -U" bind -r C-k run "tmux select-pane -U"
bind -r C-l run "tmux select-pane -R" bind -r C-l run "tmux select-pane -R"
bind -r C-Down resize-pane -D 2 bind -r S-j resize-pane -D 2
bind -r C-Up resize-pane -U 2 bind -r S-k resize-pane -U 2
bind -r C-Left resize-pane -L 2 bind -r S-h resize-pane -L 2
bind -r C-Right resize-pane -R 2 bind -r S-l resize-pane -R 2
bind-key b command-prompt -p "create pane from:" "join-pane -s ':%%'" bind-key b command-prompt -p "create pane from:" "join-pane -s ':%%'"
bind-key v command-prompt -p "send pane to:" "join-pane -t ':%%'" bind-key v command-prompt -p "send pane to:" "join-pane -t ':%%'"

Loading…
Cancel
Save