diff --git a/usr/share/byobu/keybindings/f-keys.screen b/usr/share/byobu/keybindings/f-keys.screen index 13c05aa4..6eff23b7 100644 --- a/usr/share/byobu/keybindings/f-keys.screen +++ b/usr/share/byobu/keybindings/f-keys.screen @@ -46,10 +46,10 @@ bindkey "^[[1;2D" focus up # shift-left | focus up bindkey "^[[1;2C" focus down # shift-right | focus down # No ctrl-shift-F3 (move pane) in Screen # No ctrl-shift-F4 (move pane) in Screen -bindkey "^[[1;5A" resize +1 # ctrl-up | resize +1 -bindkey "^[[1;5B" resize -1 # ctrl-down | resize -1 -bindkey "^[[1;5D" resize -1 # ctrl-left | resize -1 -bindkey "^[[1;5C" resize +1 # ctrl-right | resize +1 +bindkey "^[[1;3A" resize +1 # alt-up | resize +1 +bindkey "^[[1;3B" resize -1 # alt-down | resize -1 +bindkey "^[[1;3D" resize -1 # alt-left | resize -1 +bindkey "^[[1;3C" resize +1 # alt-right | resize +1 register r ":source $BYOBU_CONFIG_DIR/profile^M" # | Goes with F5 definition bindkey -k k5 eval 'process x' 'process r' # F5 | Reload profile bindkey "^[[15;5~" eval 'process x' 'process r' 'stuff ". $BYOBU_PREFIX/bin/byobu-reconnect-sockets^M"' # ctrl-F5 | reconnect gpg/ssh/x sockets diff --git a/usr/share/byobu/keybindings/f-keys.screen.disable b/usr/share/byobu/keybindings/f-keys.screen.disable index a9bb53d8..57533675 100644 --- a/usr/share/byobu/keybindings/f-keys.screen.disable +++ b/usr/share/byobu/keybindings/f-keys.screen.disable @@ -59,10 +59,10 @@ bindkey "^[[1;2A" bindkey "^[[1;2B" bindkey "^[[1;2D" bindkey "^[[1;2C" -bindkey "^[[1;5A" -bindkey "^[[1;5B" -bindkey "^[[1;5D" -bindkey "^[[1;5C" +bindkey "^[[1;3A" +bindkey "^[[1;3B" +bindkey "^[[1;3D" +bindkey "^[[1;3C" bindkey -k k5 bindkey "^[[15;5~" bindkey "^[[15;6~" diff --git a/usr/share/byobu/keybindings/f-keys.tmux b/usr/share/byobu/keybindings/f-keys.tmux index 0f3707c5..e6d91435 100644 --- a/usr/share/byobu/keybindings/f-keys.tmux +++ b/usr/share/byobu/keybindings/f-keys.tmux @@ -33,8 +33,8 @@ bind-key -n F3 previous-window bind-key -n F4 next-window bind-key -n C-S-Left previous-window bind-key -n C-S-Right next-window -bind-key -n M-Up choose-session \; send-keys Up \; send-keys Enter -bind-key -n M-Down choose-session \; send-keys Down \; send-keys Enter +bind-key -n C-Up choose-session \; send-keys Up \; send-keys Enter +bind-key -n C-Down choose-session \; send-keys Down \; send-keys Enter bind-key -n S-F3 display-panes \; select-pane -t :.- bind-key -n S-F4 display-panes \; select-pane -t :.+ bind-key -n S-Up display-panes \; select-pane -U @@ -45,10 +45,10 @@ bind-key -n C-F3 display-panes \; swap-pane -s :. -t :.- \; select-pane -t :.- bind-key -n C-F4 display-panes \; swap-pane -s :. -t :.+ \; select-pane -t :.+ bind-key -n C-S-F3 swap-window -t :-1 bind-key -n C-S-F4 swap-window -t :+1 -bind-key -n C-Up resize-pane -U -bind-key -n C-Down resize-pane -D -bind-key -n C-Left resize-pane -L -bind-key -n C-Right resize-pane -R +bind-key -n M-Up resize-pane -U +bind-key -n M-Down resize-pane -D +bind-key -n M-Left resize-pane -L +bind-key -n M-Right resize-pane -R bind-key -n F5 source $BYOBU_PREFIX/share/byobu/profiles/tmuxrc bind-key -n S-F5 new-window -k "$BYOBU_PREFIX/lib/byobu/include/cycle-status" \; source $BYOBU_PREFIX/share/byobu/profiles/tmuxrc bind-key -n C-F5 send-keys ". $BYOBU_PREFIX/bin/byobu-reconnect-sockets" \; send-keys Enter diff --git a/usr/share/byobu/keybindings/f-keys.tmux.disable b/usr/share/byobu/keybindings/f-keys.tmux.disable index 65b8e0d8..d452296a 100644 --- a/usr/share/byobu/keybindings/f-keys.tmux.disable +++ b/usr/share/byobu/keybindings/f-keys.tmux.disable @@ -29,8 +29,8 @@ unbind-key -n F3 unbind-key -n F4 unbind-key -n C-S-Left unbind-key -n C-S-Right -unbind-key -n M-Up -unbind-key -n M-Down +unbind-key -n C-Up +unbind-key -n C-Down unbind-key -n S-F3 unbind-key -n S-F4 unbind-key -n S-Up @@ -41,10 +41,10 @@ unbind-key -n C-F3 unbind-key -n C-F4 unbind-key -n C-S-F3 unbind-key -n C-S-F4 -unbind-key -n C-Up -unbind-key -n C-Down -unbind-key -n C-Left -unbind-key -n C-Right +unbind-key -n M-Up +unbind-key -n M-Down +unbind-key -n M-Left +unbind-key -n M-Right unbind-key -n F5 unbind-key -n S-F5 unbind-key -n C-F5