mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
usr/share/byobu/keybindings/f-keys: add keybindings for splits in
tty; sadly ctrl-f2 (vertical split) not working yet
This commit is contained in:
parent
e30b3af96c
commit
35014de4ff
2 changed files with 11 additions and 1 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -7,6 +7,8 @@ byobu (3.21) unreleased; urgency=low
|
||||||
* usr/share/byobu/keybindings/f-keys, usr/share/byobu/profiles/common:
|
* usr/share/byobu/keybindings/f-keys, usr/share/byobu/profiles/common:
|
||||||
move the "fit" statement to the common profile, which is sourced on
|
move the "fit" statement to the common profile, which is sourced on
|
||||||
profile refresh
|
profile refresh
|
||||||
|
* usr/share/byobu/keybindings/f-keys: add keybindings for splits in
|
||||||
|
tty; sadly ctrl-f2 (vertical split) not working yet
|
||||||
|
|
||||||
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 03 Jan 2011 11:44:19 -0600
|
-- Dustin Kirkland <kirkland@ubuntu.com> Mon, 03 Jan 2011 11:44:19 -0600
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,7 @@ bind R process r # ctrl-a R | Reload profile
|
||||||
register s "^a[g G$>^h" # Goes with ^a~ definition
|
register s "^a[g G$>^h" # Goes with ^a~ definition
|
||||||
bind ~ eval 'process s' 'exec sed -i -e "/./,/^$/!d" /var/run/screen/S-$USER/byobu-exchange' 'echo "See: /var/run/screen/S-$USER/byobu-exchange"' # ctrl-a ~ | write the buffer to file
|
bind ~ eval 'process s' 'exec sed -i -e "/./,/^$/!d" /var/run/screen/S-$USER/byobu-exchange' 'echo "See: /var/run/screen/S-$USER/byobu-exchange"' # ctrl-a ~ | write the buffer to file
|
||||||
|
|
||||||
# Hotkeys for splits
|
# Hotkeys for splits (gnome-terminal)
|
||||||
bindkey "^[O1;2Q" split # shift-F2 | horizontal split
|
bindkey "^[O1;2Q" split # shift-F2 | horizontal split
|
||||||
bindkey "^[O1;5Q" split -v # ctrl-F2 | vertical split
|
bindkey "^[O1;5Q" split -v # ctrl-F2 | vertical split
|
||||||
bindkey "^[O1;2R" focus up # shift-F3 | focus up
|
bindkey "^[O1;2R" focus up # shift-F3 | focus up
|
||||||
|
@ -49,6 +49,14 @@ bindkey "^[O1;2S" focus down # shift-F4 | focus down
|
||||||
bindkey "^[[15;2~" only # shift-F5 | kill all splits
|
bindkey "^[[15;2~" only # shift-F5 | kill all splits
|
||||||
bindkey "^[[17;2~" remove # shift-F6 | kill this split
|
bindkey "^[[17;2~" remove # shift-F6 | kill this split
|
||||||
|
|
||||||
|
# Hotkeys for splits (tty)
|
||||||
|
bindkey "^[[26~" split # shift-F2 | horizontal split
|
||||||
|
# ctrl-F2 | sadly, does not work in tty :-(
|
||||||
|
bindkey "^[[28~" focus up # shift-F3 | focus up
|
||||||
|
bindkey "^[[29~" focus down # shift-F4 | focus down
|
||||||
|
bindkey "^[[31~" only # shift-F5 | kill all splits
|
||||||
|
bindkey "^[[32~" remove # shift-F6 | kill this split
|
||||||
|
|
||||||
# Make it more logical how to enter scrollback
|
# Make it more logical how to enter scrollback
|
||||||
bindkey "^[[5;3~" copy # alt-pageup | scrollback
|
bindkey "^[[5;3~" copy # alt-pageup | scrollback
|
||||||
bindkey "^[[6;3~" copy # alt-pageup | scrollback
|
bindkey "^[[6;3~" copy # alt-pageup | scrollback
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue