fix buffer capture/processing

This commit is contained in:
Dustin Kirkland 2010-04-20 17:16:49 -05:00
commit 34e2304c38

View file

@ -37,7 +37,8 @@ bindkey -k F2 lockscreen # F12 | Lock this terminal
bind $ screen -t status 0 byobu-status-detail # ctrl-a $ | show detailed status bind $ screen -t status 0 byobu-status-detail # ctrl-a $ | show detailed status
bind @ screen -t config 0 byobu-config # ctrl-a @ | Configuration bind @ screen -t config 0 byobu-config # ctrl-a @ | Configuration
bind R process r # ctrl-a R | Reload profile bind R process r # ctrl-a R | Reload profile
bind ~ eval writebuf 'exec sed -i "/./,/^$/!d" /var/run/screen/S-$USER/byobu-exchange' # ctrl-a ~ | write the buffer to file register s "^a[g G$>^h" # Goes with ^a~ definition
bind ~ eval 'process s' 'exec sed -i "/./,/^$/!d" /var/run/screen/S-$USER/byobu-exchange' 'echo "See: /var/run/screen/S-$USER/byobu-exchange"' # ctrl-a ~ | write the buffer to file
# toggle f-key keybindings off # toggle f-key keybindings off
register d "^a:source /usr/share/byobu/keybindings/screen-escape-keys^M" register d "^a:source /usr/share/byobu/keybindings/screen-escape-keys^M"