From 9f3802ae191278cb86b13a64353d07d50c862358 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Mon, 14 Nov 2011 09:17:27 -0600 Subject: [PATCH] * usr/share/byobu/keybindings/f-keys.tmux, usr/share/byobu/keybindings/f-keys.tmux.disable, usr/share/doc/byobu/help.tmux.txt: - add a keybinding, Ctrl-Shift-F3/F4, to move a window right or left in the list --- debian/changelog | 5 +++++ usr/share/byobu/keybindings/f-keys.tmux | 2 ++ usr/share/byobu/keybindings/f-keys.tmux.disable | 2 ++ usr/share/doc/byobu/help.tmux.txt | 1 + 4 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index 12ad3676..f96f88e1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,11 @@ byobu (4.48) unreleased; urgency=low usr/share/byobu/profiles/tmuxrc: - add background/foreground/accent/highlight configurability for tmux profiles + * usr/share/byobu/keybindings/f-keys.tmux, + usr/share/byobu/keybindings/f-keys.tmux.disable, + usr/share/doc/byobu/help.tmux.txt: + - add a keybinding, Ctrl-Shift-F3/F4, to move a window right + or left in the list -- Dustin Kirkland Wed, 09 Nov 2011 17:54:11 -0600 diff --git a/usr/share/byobu/keybindings/f-keys.tmux b/usr/share/byobu/keybindings/f-keys.tmux index d05dbe82..026a187f 100644 --- a/usr/share/byobu/keybindings/f-keys.tmux +++ b/usr/share/byobu/keybindings/f-keys.tmux @@ -43,6 +43,8 @@ bind-key -n S-Left display-panes \; select-pane -L bind-key -n S-Right display-panes \; select-pane -R 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 C-S-F3 swap-window -t :-1 +bind-key -n C-S-F4 swap-window -t :+1 bind-key -n C-Up resize-pane -U bind-key -n C-Down resize-pane -D bind-key -n C-Left resize-pane -L diff --git a/usr/share/byobu/keybindings/f-keys.tmux.disable b/usr/share/byobu/keybindings/f-keys.tmux.disable index 904c7071..81e83571 100644 --- a/usr/share/byobu/keybindings/f-keys.tmux.disable +++ b/usr/share/byobu/keybindings/f-keys.tmux.disable @@ -39,6 +39,8 @@ unbind-key -n S-Left unbind-key -n S-Right unbind-key -n C-F3 unbind-key -n C-F4 +unbind-key -n C-S-F3 +unbind-key -n C-S-F4 unbind-key -n C-Up unbind-key -n C-Down unbind-key -n C-Left diff --git a/usr/share/doc/byobu/help.tmux.txt b/usr/share/doc/byobu/help.tmux.txt index 0f644d18..a9501b78 100644 --- a/usr/share/doc/byobu/help.tmux.txt +++ b/usr/share/doc/byobu/help.tmux.txt @@ -11,6 +11,7 @@ and some convenient keybindings: F3/F4 Move focus among windows Shift-F3/F4 Move focus among splits Ctrl-F3/F4 Move a split + Ctrl-Shift-F3/F4 Move a window Alt-Left/Right Move focus among windows Alt-Up/Down Move focus among sessions Shift-Left/Right/Up/Down Move focus among splits