From the website: Byobu is a GPLv3 open source text-based window manager and terminal multiplexer. It was originally designed to provide elegant enhancements to the otherwise functional, plain, practical GNU Screen, for the Ubuntu server distribution. Byobu now includes an enhanced profiles, convenient keybindings, configuration utilities, and toggle-able system status notifications for both the GNU Screen window manager and the more modern Tmux terminal multiplexer, and works on most Linux, BSD, and Mac distributions. Adapted from the old packages feed: https://git.openwrt.org/?p=openwrt/svn-archive/packages.git;a=tree;f=utils/byobu Signed-off-by: Jeffery To <jeffery.to@gmail.com>
34 lines
2.4 KiB
Diff
34 lines
2.4 KiB
Diff
--- a/usr/share/byobu/keybindings/f-keys.tmux
|
|
+++ b/usr/share/byobu/keybindings/f-keys.tmux
|
|
@@ -26,8 +26,8 @@ source $BYOBU_PREFIX/share/byobu/keybind
|
|
|
|
# Byobu's Keybindings
|
|
# Documented in: $BYOBU_PREFIX/share/doc/byobu/help.tmux.txt
|
|
-bind-key -n F1 new-window -k -n config byobu-config
|
|
-bind-key -n S-F1 new-window -k -n help "sh -c '$BYOBU_PAGER $BYOBU_PREFIX/share/doc/byobu/help.tmux.txt'"
|
|
+bind-key -n F1 new-window -n config byobu-config
|
|
+bind-key -n S-F1 new-window -n help "sh -c '$BYOBU_PAGER $BYOBU_PREFIX/share/doc/byobu/help.tmux.txt'"
|
|
bind-key -n F2 new-window -c "#{pane_current_path}" \; rename-window "-"
|
|
bind-key -n C-F2 display-panes \; split-window -h -c "#{pane_current_path}"
|
|
bind-key -n S-F2 display-panes \; split-window -v -c "#{pane_current_path}"
|
|
@@ -54,7 +54,7 @@ bind-key -n M-S-Left resize-pane -L
|
|
bind-key -n M-S-Right resize-pane -R
|
|
bind-key -n F5 source $BYOBU_PREFIX/share/byobu/profiles/tmuxrc
|
|
bind-key -n M-F5 run-shell '$BYOBU_PREFIX/lib/byobu/include/toggle-utf8' \; 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 S-F5 new-window "$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
|
|
bind-key -n C-S-F5 new-window -d "byobu-select-profile -r"
|
|
bind-key -n F6 detach
|
|
@@ -68,9 +68,9 @@ bind-key -n M-PPage copy-mode \; send-ke
|
|
bind-key -n F8 command-prompt -p "(rename-window) " "rename-window '%%'"
|
|
bind-key -n C-F8 command-prompt -p "(rename-session) " "rename-session '%%'"
|
|
bind-key -n S-F8 next-layout
|
|
-bind-key -n M-S-F8 new-window -k "byobu-layout restore; clear; $SHELL"
|
|
+bind-key -n M-S-F8 new-window "byobu-layout restore; clear; $SHELL"
|
|
bind-key -n C-S-F8 command-prompt -p "Save byobu layout as:" "run-shell \"byobu-layout save '%%'\""
|
|
-bind-key -n F9 new-window -k -n config byobu-config
|
|
+bind-key -n F9 new-window -n config byobu-config
|
|
bind-key -n S-F9 command-prompt -p "Send command to all panes:" "run-shell \"$BYOBU_PREFIX/lib/byobu/include/tmux-send-command-to-all-panes '%%'\""
|
|
bind-key -n C-F9 command-prompt -p "Send command to all windows:" "run-shell \"$BYOBU_PREFIX/lib/byobu/include/tmux-send-command-to-all-windows '%%'\""
|
|
bind-key -n M-F9 display-panes \; setw synchronize-panes
|