* usr/share/byobu/keybindings/f-keys.screen,

usr/share/byobu/keybindings/f-keys.screen.disable,
  usr/share/byobu/keybindings/f-keys.tmux,
  usr/share/byobu/keybindings/f-keys.tmux.disable,
  usr/share/doc/byobu/help.tmux.txt:
  - change the printscreen hotkey from Shift-F9 to Shift-F7
  - Shift-F7 should be more memorable, in that F7 has long been
    used to enter scrollback mode
This commit is contained in:
Dustin Kirkland 2013-11-27 08:35:57 -06:00
commit e46f05e0af
6 changed files with 14 additions and 7 deletions

9
debian/changelog vendored
View file

@ -1,6 +1,13 @@
byobu (5.66) unreleased; urgency=low
* UNRELEASED
* usr/share/byobu/keybindings/f-keys.screen,
usr/share/byobu/keybindings/f-keys.screen.disable,
usr/share/byobu/keybindings/f-keys.tmux,
usr/share/byobu/keybindings/f-keys.tmux.disable,
usr/share/doc/byobu/help.tmux.txt:
- change the printscreen hotkey from Shift-F9 to Shift-F7
- Shift-F7 should be more memorable, in that F7 has long been
used to enter scrollback mode
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 18 Nov 2013 12:31:12 -0600

View file

@ -71,8 +71,8 @@ bindkey -k k8 eval 'process x' 'process t' # F8 | Re-title a window
# No ctrl-F8 (restore layout) in Screen
# No ctrl-shift-F8 (save layout) in Screen
bindkey -k k9 $BYOBU_BACKEND -t config 0 byobu-config # F9 | Configuration
register s "[g G$>^h" # Goes with Shift-F9 and F12 ~ definition
bindkey "^[[20;2~" eval 'process x' 'process s' 'exec $BYOBU_SED -i -e "/./,/^$/!d" $BYOBU_RUN_DIR/printscreen' '$BYOBU_BACKEND -t PRINTSCREEN view $BYOBU_RUN_DIR/printscreen' # Shift-F9 | write the buffer to file, open in a new window
register s "[g G$>^h" # Goes with Shift-F7 and F12 ~ definition
bindkey "^[[18;2~" eval 'process x' 'process s' 'exec $BYOBU_SED -i -e "/./,/^$/!d" $BYOBU_RUN_DIR/printscreen' '$BYOBU_BACKEND -t PRINTSCREEN view $BYOBU_RUN_DIR/printscreen' # Shift-F7 | write the buffer to file, open in a new window
# F10 | 'toolbar' in gnome-terminal
# F11 | 'Full Screen' in gnome-terminal
# No alt-F11 (break pane) in Screen

View file

@ -73,9 +73,9 @@ bindkey "^[[17;2~"
bindkey "^[[32~"
bindkey "^[[17;5~"
bindkey -k k7
bindkey "^[[18;2~"
bindkey "^[[5;3~"
bindkey "^[[6;3~"
bindkey -k k8
bindkey -k k9
bindkey "^[[20;2~"
bindkey -k F2

View file

@ -62,6 +62,7 @@ bind-key -n M-F6 run-shell '$BYOBU_PREFIX/lib/byobu/include/tmux-detach-all-but-
bind-key -n S-F6 run-shell 'exec touch $BYOBU_RUN_DIR/no-logout' \; detach
bind-key -n C-F6 kill-pane
bind-key -n F7 copy-mode
bind-key -n S-F7 capture-pane -S -32768 \; save-buffer "$BYOBU_RUN_DIR/printscreen" \; delete-buffer \; new-window -n "PRINTSCREEN" "view $BYOBU_RUN_DIR/printscreen"
bind-key -n M-NPage copy-mode \; send-keys NPage
bind-key -n M-PPage copy-mode \; send-keys PPage
bind-key -n F8 command-prompt -p "(rename-window) " "rename-window '%%'"
@ -69,7 +70,6 @@ bind-key -n S-F8 next-layout
bind-key -n C-F8 new-window -k "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 S-F9 capture-pane -S -32768 \; save-buffer "$BYOBU_RUN_DIR/printscreen" \; delete-buffer \; new-window -n "PRINTSCREEN" "view $BYOBU_RUN_DIR/printscreen"
bind-key -n M-F11 break-pane
bind-key -n C-F11 join-pane -h -s :. -t :-1
bind-key -n S-F11 join-pane -v -s :. -t :-1

View file

@ -63,6 +63,7 @@ unbind-key -n M-F6
unbind-key -n S-F6
unbind-key -n C-F6
unbind-key -n F7
unbind-key -n S-F7
unbind-key -n M-NPage
unbind-key -n M-PPage
unbind-key -n F8
@ -70,7 +71,6 @@ unbind-key -n C-F8
unbind-key -n C-S-F8
unbind-key -n S-F8
unbind-key -n F9
unbind-key -n S-F9
unbind-key -n M-F11
unbind-key -n C-F11
unbind-key -n S-F11

View file

@ -27,12 +27,12 @@ and some convenient keybindings:
Ctrl-F6 Kill split in focus
F7 Enter scrollback history
Alt-PageUp/PageDown Enter and move through scrollback
Shift-F7 Save history to $BYOBU_RUN_DIR/printscreen
F8 Rename the current window
Shift-F8 Toggle through split arrangements
Ctrl-F8 Restore a split-pane layout
Ctrl-Shift-F8 Save the current split-pane layout
F9 Launch byobu-config window
Shift-F9 Save history to $BYOBU_RUN_DIR/printscreen
F10 * Used by X11 *
F11 * Used by X11 *
Alt-F11 Expand split to a full window