diff --git a/debian/changelog b/debian/changelog index f1fb6193..083a7bb9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ byobu (5.12) unreleased; urgency=low - * UNRELEASED + * usr/share/byobu/keybindings/f-keys, + usr/share/byobu/keybindings/screen-escape-keys: + - keybindings for screen to match tmux for consistency -- Dustin Kirkland Wed, 15 Feb 2012 22:22:12 -0600 diff --git a/usr/share/byobu/keybindings/f-keys b/usr/share/byobu/keybindings/f-keys index d70d0a06..5542ba3a 100644 --- a/usr/share/byobu/keybindings/f-keys +++ b/usr/share/byobu/keybindings/f-keys @@ -29,7 +29,9 @@ bindkey -k k1 $BYOBU_BACKEND -t config 0 byobu-config # F1 | Configuration (alo # | since F1 = Help in gnome-terminal bindkey -k k2 $BYOBU_BACKEND # F2 | Create new window bindkey -k k3 eval 'prev' 'fit' # F3 | Previous Window +bindkey "^[[1;2D" eval 'prev' 'fit' # shift-left | Previous Window bindkey -k k4 eval 'next' 'fit' # F4 | Next Window +bindkey "^[[1;2C" eval 'next' 'fit' # shift-right | Next Window register r ":source $BYOBU_CONFIG_DIR/profile^M" # | Goes with F5 definition bindkey -k k5 eval 'process x' 'process r' # F5 | Reload profile bindkey -k k6 detach # F6 | Detach from this session diff --git a/usr/share/byobu/keybindings/screen-escape-keys b/usr/share/byobu/keybindings/screen-escape-keys index 8f448bbe..2429afac 100644 --- a/usr/share/byobu/keybindings/screen-escape-keys +++ b/usr/share/byobu/keybindings/screen-escape-keys @@ -61,3 +61,7 @@ bind $ $BYOBU_BACKEND -t status 0 byobu-status-detail # ctrl-a-! Toggle f-key keybindings on register e ":source $BYOBU_PREFIX/share/byobu/keybindings/f-keys^M" bind ! eval 'process x' 'process e' 'backtick 111 9999999 9999999 byobu-status menu' + +bindkey "^[[1;2C" +bindkey "^[[1;2D" +