mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
fixed trigger for f-5 in common keybinding, and a trigger to re-load in byobu-config
This commit is contained in:
parent
966796e476
commit
4900123fb9
2 changed files with 3 additions and 1 deletions
|
@ -99,6 +99,8 @@ def menu(screen, size, isInstalled):
|
||||||
g.add(bb, 0, 1, padding=(1,1,0,0))
|
g.add(bb, 0, 1, padding=(1,1,0,0))
|
||||||
|
|
||||||
if bb.buttonPressed(g.runOnce()) == "exit":
|
if bb.buttonPressed(g.runOnce()) == "exit":
|
||||||
|
win='screen -X at 0 source $HOME/.byobu/profile'
|
||||||
|
commands.getoutput(win)
|
||||||
return 0
|
return 0
|
||||||
else:
|
else:
|
||||||
return li.current()
|
return li.current()
|
||||||
|
|
|
@ -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 k2 process n # F2 | Create new window (and name it)
|
||||||
bindkey -k k3 prev # F3 | Previous Window
|
bindkey -k k3 prev # F3 | Previous Window
|
||||||
bindkey -k k4 next # F4 | Next 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 k5 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue