From 4900123fb9c54daf6ab202845ae97999bff2c96b Mon Sep 17 00:00:00 2001 From: Derek Carter Date: Fri, 7 Aug 2009 19:00:09 -0400 Subject: [PATCH] fixed trigger for f-5 in common keybinding, and a trigger to re-load in byobu-config --- byobu-config | 2 ++ keybindings/common | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/byobu-config b/byobu-config index 1b98b2f7..6120098b 100755 --- a/byobu-config +++ b/byobu-config @@ -99,6 +99,8 @@ def menu(screen, size, isInstalled): g.add(bb, 0, 1, padding=(1,1,0,0)) if bb.buttonPressed(g.runOnce()) == "exit": + win='screen -X at 0 source $HOME/.byobu/profile' + commands.getoutput(win) return 0 else: return li.current() diff --git a/keybindings/common b/keybindings/common index c3f46252..34310b1d 100644 --- a/keybindings/common +++ b/keybindings/common @@ -35,7 +35,7 @@ register n "^a^c^aA" # | Goes with the F2 definition bindkey -k k2 process n # F2 | Create new window (and name it) bindkey -k k3 prev # F3 | Previous Window bindkey -k k4 next # F4 | Next Window -register r "^a:source $HOME/.screen-profiles/profile" # | Goes with F5 definition +register r "^a:source $HOME/.byobu/profile " # | Goes with F5 definition bindkey -k k5 process r # F5 | Reload profile bindkey -k k6 detach # F6 | Detach from this session bindkey -k k7 copy # F7 | Enter copy/scrollback mode