mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-21 22:13:19 -07:00
* usr/share/byobu/keybindings/f-keys.tmux,
usr/share/byobu/keybindings/f-keys.tmux.disable, usr/share/byobu/keybindings/Makefile.am, usr/share/byobu/keybindings/mouse.tmux.disable, usr/share/byobu/keybindings/mouse.tmux.enable, usr/share/doc/byobu/help.tmux.txt: - add support for a new keybinding, Alt-F12, to toggle on/off tmux mouse support - display a message when toggling either on or off mouse or F-keys support
This commit is contained in:
parent
9bb4820b79
commit
9d1bbb875a
7 changed files with 28 additions and 4 deletions
11
debian/changelog
vendored
11
debian/changelog
vendored
|
@ -1,6 +1,15 @@
|
|||
byobu (5.58) unreleased; urgency=low
|
||||
|
||||
* UNRELEASED
|
||||
* usr/share/byobu/keybindings/f-keys.tmux,
|
||||
usr/share/byobu/keybindings/f-keys.tmux.disable,
|
||||
usr/share/byobu/keybindings/Makefile.am,
|
||||
usr/share/byobu/keybindings/mouse.tmux.disable,
|
||||
usr/share/byobu/keybindings/mouse.tmux.enable,
|
||||
usr/share/doc/byobu/help.tmux.txt:
|
||||
- add support for a new keybinding, Alt-F12, to toggle on/off
|
||||
tmux mouse support
|
||||
- display a message when toggling either on or off mouse or
|
||||
F-keys support
|
||||
|
||||
-- Dustin Kirkland <kirkland@ubuntu.com> Tue, 03 Sep 2013 14:40:09 -0500
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
keybindingsdir = $(datadir)/@PACKAGE@/keybindings
|
||||
keybindings_DATA = common f-keys f-keys.screen f-keys.screen.disable f-keys.tmux f-keys.tmux.disable none tmux-screen-keys.conf
|
||||
keybindings_DATA = common f-keys f-keys.screen f-keys.screen.disable f-keys.tmux f-keys.tmux.disable mouse.tmux.disable mouse.tmux.enable none tmux-screen-keys.conf
|
||||
|
|
|
@ -72,8 +72,9 @@ bind-key -n F9 new-window -k -n config byobu-config
|
|||
bind-key -n M-F11 break-pane
|
||||
bind-key -n C-F11 join-pane -h -s :. -t :-1
|
||||
bind-key -n S-F11 join-pane -v -s :. -t :-1
|
||||
bind-key -n S-F12 source $BYOBU_PREFIX/share/byobu/keybindings/f-keys.tmux.disable
|
||||
bind-key -n S-F12 source $BYOBU_PREFIX/share/byobu/keybindings/f-keys.tmux.disable \; display-message "Byobu F-keys: DISABLED"
|
||||
bind-key -n C-S-F12 new-window $BYOBU_PREFIX/lib/byobu/include/mondrian
|
||||
bind-key -n M-F12 source $BYOBU_PREFIX/share/byobu/keybindings/mouse.tmux.enable
|
||||
bind-key -n M-IC paste-buffer
|
||||
|
||||
bind-key -n C-a new-window -n "ctrl-a" "byobu-ctrl-a"
|
||||
|
|
|
@ -72,7 +72,8 @@ unbind-key -n F9
|
|||
unbind-key -n M-F11
|
||||
unbind-key -n C-F11
|
||||
unbind-key -n S-F11
|
||||
bind-key -n S-F12 source $BYOBU_PREFIX/share/byobu/keybindings/f-keys.tmux
|
||||
bind-key -n S-F12 source $BYOBU_PREFIX/share/byobu/keybindings/f-keys.tmux \; display-message "Byobu F-keys: ENABLED"
|
||||
unbind-key -n M-F12
|
||||
unbind-key -n C-S-F12
|
||||
unbind-key -n M-IC
|
||||
unbind-key -n C-a
|
||||
|
|
6
usr/share/byobu/keybindings/mouse.tmux.disable
Normal file
6
usr/share/byobu/keybindings/mouse.tmux.disable
Normal file
|
@ -0,0 +1,6 @@
|
|||
set -g mouse-resize-pane off
|
||||
set -g mouse-select-pane off
|
||||
set -g mouse-select-window off
|
||||
set -g mode-mouse off
|
||||
set -g mouse-utf8 off
|
||||
bind-key -n M-F12 source $BYOBU_PREFIX/share/byobu/keybindings/mouse.tmux.enable \; display-message "Mouse: OFF"
|
6
usr/share/byobu/keybindings/mouse.tmux.enable
Normal file
6
usr/share/byobu/keybindings/mouse.tmux.enable
Normal file
|
@ -0,0 +1,6 @@
|
|||
set -g mouse-resize-pane on
|
||||
set -g mouse-select-pane on
|
||||
set -g mouse-select-window on
|
||||
set -g mode-mouse on
|
||||
set -g mouse-utf8 off
|
||||
bind-key -n M-F12 source $BYOBU_PREFIX/share/byobu/keybindings/mouse.tmux.disable \; display-message "Mouse: ON"
|
|
@ -38,4 +38,5 @@ and some convenient keybindings:
|
|||
Ctrl-F11 Join window into a vertical split
|
||||
F12 Escape sequence
|
||||
Shift-F12 Toggle on/off Byobu's keybindings
|
||||
Alt-F12 Toggle on/off Byobu's mouse support
|
||||
Ctrl-Shift-F12 Mondrian squares
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue