tmux remote fix for arrow keys did not work, alternate bindings now
This commit is contained in:
1 parent
bf95364adb
commit
f4b76cfd58
1 file changed
+4
-6
@@ -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 ':%%'"
|
||||
|
||||
|
||||
Reference in new issue
Block a user