~blueyed/byobu/byobu-prefix-lp-861302

« back to all changes in this revision

Viewing changes to usr/share/byobu/keybindings/f-keys

  • Committer: Dustin Kirkland
  • Date: 2011-09-21 22:42:02 UTC
  • Revision ID: kirkland@ubuntu.com-20110921224202-i7cprx65vfr0ufav
* usr/share/byobu/keybindings/f-keys: LP: #839783
  - Disable screen messages while entering and scrolling around in
    copy/scrollback mode, but re-enable them afterward; print a
    message about Byobu scrollback mode to "eat" the unnecessary
    and misleading screen messages when using alt-pgup and alt-pgdown

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
 
65
65
# Make it more logical how to enter scrollback
66
66
register p "^[[5~"
67
 
bindkey "^[[5;3~" eval 'msgwait 0' 'msgminwait 0' 'copy' 'process p'            # alt-pageup | scrollback
 
67
bindkey "^[[5;3~" eval 'msgwait 0' 'msgminwait 0' 'copy' 'process p' 'msgwait 1' 'echo "Byobu scrollback mode (alt-pgup / alt-pgdown)"' # alt-pageup | scrollback
68
68
register n "^[[6~"
69
 
bindkey "^[[6;3~" eval 'msgwait 0' 'msgminwait 0' 'copy' 'process n'            # alt-pagedn | scrollback
 
69
bindkey "^[[6;3~" eval 'msgwait 0' 'msgminwait 0' 'copy' 'process n' 'msgwait 1' 'echo "Byobu scrollback mode (alt-pgup / alt-pgdown)"' # alt-pagedn | scrollback
70
70
 
71
71
# Make socket reconnection a little easier
72
72
bindkey "^[[15;5~" eval 'process x' 'process r' 'stuff ". $BYOBU_PREFIX/bin/byobu-reconnect-sockets^M"' # ctrl-F5 | reconnect gpg/ssh/x sockets