fixed trigger for f-5 in common keybinding, and a trigger to re-load in byobu-config

This commit is contained in:
Derek Carter 2009-08-07 19:00:09 -04:00
commit 4900123fb9
2 changed files with 3 additions and 1 deletions

View file

@ -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()

View file

@ -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