From e30b3af96c0a7a0ddbe9b5b6e629014c6893ddd4 Mon Sep 17 00:00:00 2001 From: Dustin Kirkland Date: Wed, 5 Jan 2011 17:09:01 -0600 Subject: [PATCH] usr/share/byobu/keybindings/f-keys, usr/share/byobu/profiles/common: move the "fit" statement to the common profile, which is sourced on profile refresh --- debian/changelog | 3 +++ usr/share/byobu/keybindings/f-keys | 2 +- usr/share/byobu/profiles/common | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 4c9e66df..4782747b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,9 @@ byobu (3.21) unreleased; urgency=low * usr/bin/byobu, usr/bin/byobu-janitor: move the print for window title setting into byobu-janitor, which should ensure that it gets run on F5/refresh operations + * usr/share/byobu/keybindings/f-keys, usr/share/byobu/profiles/common: + move the "fit" statement to the common profile, which is sourced on + profile refresh -- Dustin Kirkland Mon, 03 Jan 2011 11:44:19 -0600 diff --git a/usr/share/byobu/keybindings/f-keys b/usr/share/byobu/keybindings/f-keys index 49e501de..ed02274b 100644 --- a/usr/share/byobu/keybindings/f-keys +++ b/usr/share/byobu/keybindings/f-keys @@ -26,7 +26,7 @@ bindkey -k k2 screen # F2 | Create new window bindkey -k k3 eval 'prev' 'fit' # F3 | Previous Window bindkey -k k4 eval 'next' 'fit' # F4 | Next Window register r "^a:source $HOME/.byobu/profile^M" # | Goes with F5 definition -bindkey -k k5 eval 'fit' 'process r' # F5 | Reload profile +bindkey -k k5 eval 'process r' # F5 | Reload profile bindkey -k k6 detach # F6 | Detach from this session bindkey -k k7 copy # F7 | Enter copy/scrollback mode register t "^aA^aa^k^h" # | Goes with the F8 definition diff --git a/usr/share/byobu/profiles/common b/usr/share/byobu/profiles/common index dc7176e2..e4c2c852 100644 --- a/usr/share/byobu/profiles/common +++ b/usr/share/byobu/profiles/common @@ -99,6 +99,9 @@ compacthist on defmonitor on activity "" +# Fit to the current window size, useful with F5/reloads of the profile +fit + # Maintain SSH_AUTH_SOCK link setenv SSH_AUTH_SOCK $HOME/.byobu/.ssh-agent