* 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
This commit is contained in:
Dustin Kirkland 2011-11-09 12:17:34 -06:00
commit d2476df44a
4 changed files with 37 additions and 3 deletions

3
debian/changelog vendored
View file

@ -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 <kirkland@ubuntu.com> Tue, 08 Nov 2011 19:16:15 -0600

View file

@ -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 :.-

View file

@ -1,2 +1,2 @@
docdir = $(datadir)/doc/@PACKAGE@
doc_DATA = help.txt
doc_DATA = help.txt help.tmux.txt

View file

@ -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