diff --git a/debian/changelog b/debian/changelog index 911158d2..6c941330 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,9 @@ byobu (4.47) unreleased; urgency=low usr/share/byobu/ec2/rates.us-west-2: LP: #888196 - added new us-west-2 (Oregon) pricing region * close LP: #888106, fixed in last release + * usr/share/byobu/profiles/tmux, usr/share/doc/byobu/help.tmux.txt, + usr/share/doc/byobu/Makefile.am: + - add a tmux keybinding help screen, bind to Shift-F1 -- Dustin Kirkland Tue, 08 Nov 2011 19:16:15 -0600 diff --git a/usr/share/byobu/profiles/tmux b/usr/share/byobu/profiles/tmux index 7c2fbc74..593e5893 100644 --- a/usr/share/byobu/profiles/tmux +++ b/usr/share/byobu/profiles/tmux @@ -34,7 +34,8 @@ source /usr/share/tmux/screen-keys.conf set -g prefix ^A,F12 # Byobu's Keybindings -bind-key -n F1 new-window -k -t config byobu-config +bind-key -n F1 new-window -k -n config byobu-config +bind-key -n S-F1 new-window -k -n help 'sensible-pager /usr/share/doc/byobu/help.tmux.txt' bind-key -n F2 new-window bind-key -n F3 previous-window bind-key -n F4 next-window @@ -46,7 +47,7 @@ bind-key -n F7 copy-mode 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 %%" -bind-key -n F9 new-window -a byobu-config +bind-key -n F9 new-window -k -n config byobu-config bind-key -n C-F2 display-panes \; split-window -h bind-key -n S-F2 display-panes \; split-window -v bind-key -n S-F3 display-panes \; select-pane -t :.- diff --git a/usr/share/doc/byobu/Makefile.am b/usr/share/doc/byobu/Makefile.am index 3c8fcd12..3ac179ba 100644 --- a/usr/share/doc/byobu/Makefile.am +++ b/usr/share/doc/byobu/Makefile.am @@ -1,2 +1,2 @@ docdir = $(datadir)/doc/@PACKAGE@ -doc_DATA = help.txt +doc_DATA = help.txt help.tmux.txt diff --git a/usr/share/doc/byobu/help.tmux.txt b/usr/share/doc/byobu/help.tmux.txt new file mode 100644 index 00000000..8d8194ec --- /dev/null +++ b/usr/share/doc/byobu/help.tmux.txt @@ -0,0 +1,30 @@ +Byobu is a suite of enhancements to Tmux, as a command line +tool providing live system status, dynamic window management, +and some convenient keybindings: + + F1 * Used by X11 + Shift-F1 Display this help + F2 Create a new window + Ctrl-F2 Create a vertical split + Shift-F2 Create a horizontal split + F3/F4 Move focus among windows + Shift-F3/F4 Move focus among splits + Ctrl-F3/F4 Move a split + Alt-Left/Right Move focus among windows + Alt-Up/Down Move focus among sessions + Shift-Left/Right/Up/Down Move focus among splits + Ctrl-Left/Right/Up/Down Resize a split + F5 Reload profile, refresh notifications + Shift-F5 Toggle through split arrangements + Ctrl-F5 Reconnect ssh/gpg/dbus sockets + F6 Detach session and then logout + Shift-F6 Detach session and do not logout + Ctrl-F6 Kill split in focus + F7 Enter scrollback history + Alt-PageUp/PageDown Enter and move through scrollback + F8 Rename the current window + F9 Launch byobu-config window + F10 * Used by X11 + F11 * Used by X11 + Shift-F11 Expand split to a full window + F12 Escape sequence