cd /usr/share/byobu/keybindings/; patch < ~/byobu.patch
Patch from https://code.launchpad.net/~jake-biesinger/byobu/byobu/+merge/126830
=== modified file 'usr/share/byobu/keybindings/f-keys.screen' | |
--- usr/share/byobu/keybindings/f-keys.screen 2012-02-17 05:54:13 +0000 | |
+++ usr/share/byobu/keybindings/f-keys.screen 2012-09-27 23:46:21 +0000 | |
@@ -46,10 +46,10 @@ | |
bindkey "^[[1;2C" focus down # shift-right | focus down | |
# No ctrl-shift-F3 (move pane) in Screen | |
# No ctrl-shift-F4 (move pane) in Screen | |
-bindkey "^[[1;5A" resize +1 # ctrl-up | resize +1 | |
-bindkey "^[[1;5B" resize -1 # ctrl-down | resize -1 | |
-bindkey "^[[1;5D" resize -1 # ctrl-left | resize -1 | |
-bindkey "^[[1;5C" resize +1 # ctrl-right | resize +1 | |
+bindkey "^[[1;3A" resize +1 # alt-up | resize +1 | |
+bindkey "^[[1;3B" resize -1 # alt-down | resize -1 | |
+bindkey "^[[1;3D" resize -1 # alt-left | resize -1 | |
+bindkey "^[[1;3C" resize +1 # alt-right | resize +1 | |
register r ":source $BYOBU_CONFIG_DIR/profile^M" # | Goes with F5 definition | |
bindkey -k k5 eval 'process x' 'process r' # F5 | Reload profile | |
bindkey "^[[15;5~" eval 'process x' 'process r' 'stuff ". $BYOBU_PREFIX/bin/byobu-reconnect-sockets^M"' # ctrl-F5 | reconnect gpg/ssh/x sockets | |
=== modified file 'usr/share/byobu/keybindings/f-keys.screen.disable' | |
--- usr/share/byobu/keybindings/f-keys.screen.disable 2012-02-17 05:54:13 +0000 | |
+++ usr/share/byobu/keybindings/f-keys.screen.disable 2012-09-27 23:46:21 +0000 | |
@@ -59,10 +59,10 @@ | |
bindkey "^[[1;2B" | |
bindkey "^[[1;2D" | |
bindkey "^[[1;2C" | |
-bindkey "^[[1;5A" | |
-bindkey "^[[1;5B" | |
-bindkey "^[[1;5D" | |
-bindkey "^[[1;5C" | |
+bindkey "^[[1;3A" | |
+bindkey "^[[1;3B" | |
+bindkey "^[[1;3D" | |
+bindkey "^[[1;3C" | |
bindkey -k k5 | |
bindkey "^[[15;5~" | |
bindkey "^[[15;6~" | |
=== modified file 'usr/share/byobu/keybindings/f-keys.tmux' | |
--- usr/share/byobu/keybindings/f-keys.tmux 2012-02-17 05:54:13 +0000 | |
+++ usr/share/byobu/keybindings/f-keys.tmux 2012-09-27 23:46:21 +0000 | |
@@ -33,8 +33,8 @@ | |
bind-key -n F4 next-window | |
bind-key -n C-S-Left previous-window | |
bind-key -n C-S-Right next-window | |
-bind-key -n M-Up choose-session \; send-keys Up \; send-keys Enter | |
-bind-key -n M-Down choose-session \; send-keys Down \; send-keys Enter | |
+bind-key -n C-Up choose-session \; send-keys Up \; send-keys Enter | |
+bind-key -n C-Down choose-session \; send-keys Down \; send-keys Enter | |
bind-key -n S-F3 display-panes \; select-pane -t :.- | |
bind-key -n S-F4 display-panes \; select-pane -t :.+ | |
bind-key -n S-Up display-panes \; select-pane -U | |
@@ -45,10 +45,10 @@ | |
bind-key -n C-F4 display-panes \; swap-pane -s :. -t :.+ \; select-pane -t :.+ | |
bind-key -n C-S-F3 swap-window -t :-1 | |
bind-key -n C-S-F4 swap-window -t :+1 | |
-bind-key -n C-Up resize-pane -U | |
-bind-key -n C-Down resize-pane -D | |
-bind-key -n C-Left resize-pane -L | |
-bind-key -n C-Right resize-pane -R | |
+bind-key -n M-Up resize-pane -U | |
+bind-key -n M-Down resize-pane -D | |
+bind-key -n M-Left resize-pane -L | |
+bind-key -n M-Right resize-pane -R | |
bind-key -n F5 source $BYOBU_PREFIX/share/byobu/profiles/tmuxrc | |
bind-key -n S-F5 new-window -k "$BYOBU_PREFIX/lib/byobu/include/cycle-status" \; source $BYOBU_PREFIX/share/byobu/profiles/tmuxrc | |
bind-key -n C-F5 send-keys ". $BYOBU_PREFIX/bin/byobu-reconnect-sockets" \; send-keys Enter | |
=== modified file 'usr/share/byobu/keybindings/f-keys.tmux.disable' | |
--- usr/share/byobu/keybindings/f-keys.tmux.disable 2012-02-12 16:53:12 +0000 | |
+++ usr/share/byobu/keybindings/f-keys.tmux.disable 2012-09-27 23:46:21 +0000 | |
@@ -29,8 +29,8 @@ | |
unbind-key -n F4 | |
unbind-key -n C-S-Left | |
unbind-key -n C-S-Right | |
-unbind-key -n M-Up | |
-unbind-key -n M-Down | |
+unbind-key -n C-Up | |
+unbind-key -n C-Down | |
unbind-key -n S-F3 | |
unbind-key -n S-F4 | |
unbind-key -n S-Up | |
@@ -41,10 +41,10 @@ | |
unbind-key -n C-F4 | |
unbind-key -n C-S-F3 | |
unbind-key -n C-S-F4 | |
-unbind-key -n C-Up | |
-unbind-key -n C-Down | |
-unbind-key -n C-Left | |
-unbind-key -n C-Right | |
+unbind-key -n M-Up | |
+unbind-key -n M-Down | |
+unbind-key -n M-Left | |
+unbind-key -n M-Right | |
unbind-key -n F5 | |
unbind-key -n S-F5 | |
unbind-key -n C-F5 |
cd /usr/share/byobu/keybindings/; patch < ~/byobu.patch
Patch from https://code.launchpad.net/~jake-biesinger/byobu/byobu/+merge/126830