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
This commit is contained in:
Dustin Kirkland 2011-01-05 17:09:01 -06:00
commit e30b3af96c
3 changed files with 7 additions and 1 deletions

3
debian/changelog vendored
View file

@ -4,6 +4,9 @@ byobu (3.21) unreleased; urgency=low
* usr/bin/byobu, usr/bin/byobu-janitor: move the print for window * usr/bin/byobu, usr/bin/byobu-janitor: move the print for window
title setting into byobu-janitor, which should ensure that it title setting into byobu-janitor, which should ensure that it
gets run on F5/refresh operations 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 <kirkland@ubuntu.com> Mon, 03 Jan 2011 11:44:19 -0600 -- Dustin Kirkland <kirkland@ubuntu.com> Mon, 03 Jan 2011 11:44:19 -0600

View file

@ -26,7 +26,7 @@ bindkey -k k2 screen # F2 | Create new window
bindkey -k k3 eval 'prev' 'fit' # F3 | Previous Window bindkey -k k3 eval 'prev' 'fit' # F3 | Previous Window
bindkey -k k4 eval 'next' 'fit' # F4 | Next Window bindkey -k k4 eval 'next' 'fit' # F4 | Next Window
register r "^a:source $HOME/.byobu/profile^M" # | Goes with F5 definition 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 k6 detach # F6 | Detach from this session
bindkey -k k7 copy # F7 | Enter copy/scrollback mode bindkey -k k7 copy # F7 | Enter copy/scrollback mode
register t "^aA^aa^k^h" # | Goes with the F8 definition register t "^aA^aa^k^h" # | Goes with the F8 definition

View file

@ -99,6 +99,9 @@ compacthist on
defmonitor on defmonitor on
activity "" activity ""
# Fit to the current window size, useful with F5/reloads of the profile
fit
# Maintain SSH_AUTH_SOCK link # Maintain SSH_AUTH_SOCK link
setenv SSH_AUTH_SOCK $HOME/.byobu/.ssh-agent setenv SSH_AUTH_SOCK $HOME/.byobu/.ssh-agent