From 90899f4e536129d664b9dfb566f560a7d5aea86b Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Tue, 4 Oct 2011 11:33:29 -0400 Subject: [PATCH] - shift-f6 detach but don't logout - shift-f5 rotate through preset layouts - ctrl-f6 kill a pane * usr/share/byobu/profiles/tmux: --- debian/changelog | 4 ++++ usr/share/byobu/profiles/tmux | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index aa7c8523..c0333a46 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,9 @@ byobu (4.38) unreleased; urgency=low - explicitly set a couple of colors, highlight active pane a bit - fix broken 256-color detection, use it by default, allow override - swap panes around slightly more sensibly + - shift-f6 detach but don't logout + - shift-f5 rotate through preset layouts + - ctrl-f6 kill a pane * usr/lib/byobu/distro, usr/lib/byobu/Makefile.am, usr/lib/byobu/release, usr/lib/byobu/.shutil, usr/share/byobu/status/status, usr/share/man/man1/byobu.1: @@ -24,6 +27,7 @@ byobu (4.38) unreleased; urgency=low * usr/share/byobu/profiles/tmux: * usr/bin/byobu: * usr/share/byobu/profiles/tmux: + * usr/share/byobu/profiles/tmux: -- Dustin Kirkland Thu, 29 Sep 2011 14:46:58 -0400 diff --git a/usr/share/byobu/profiles/tmux b/usr/share/byobu/profiles/tmux index 9384c0ff..ffd3e7f0 100644 --- a/usr/share/byobu/profiles/tmux +++ b/usr/share/byobu/profiles/tmux @@ -38,6 +38,8 @@ bind-key -n F4 next-window bind-key -n S-right next-window bind-key -n F5 source /usr/share/byobu/profiles/tmuxrc bind-key -n F6 detach +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 M-NPage copy-mode \; send-keys NPage bind-key -n M-PPage copy-mode \; send-keys PPage @@ -49,8 +51,7 @@ bind-key -n S-F3 display-panes \; select-pane -t :.- bind-key -n S-F4 display-panes \; select-pane -t :.+ bind-key -n C-F3 display-panes \; swap-pane -s :. -t :.- \; select-pane -t :.- bind-key -n C-F4 display-panes \; swap-pane -s :. -t :.+ \; select-pane -t :.+ -bind-key -n S-F5 kill-pane -a -bind-key -n C-F5 kill-pane +bind-key -n S-F5 next-layout bind-key -n C-Up resize-pane -U bind-key -n C-Down resize-pane -D bind-key -n C-Left resize-pane -L