mirror of
https://github.com/prurigro/darkcloud-tmuxconfig.git
synced 2024-11-23 07:34:10 -05:00
Use the new mouse setting when enabling/disabling the mouse
This commit is contained in:
parent
78fe936729
commit
a55000acd5
2 changed files with 4 additions and 4 deletions
|
@ -47,8 +47,8 @@ set-option -g mouse-utf8 on
|
||||||
# KEY BINDINGS
|
# KEY BINDINGS
|
||||||
#
|
#
|
||||||
# m and <ctrl>m to enabling and disabling the mouse respectively
|
# m and <ctrl>m to enabling and disabling the mouse respectively
|
||||||
bind m set-option -g mode-mouse on \; set-option -g mouse-resize-pane on \; set-option -g mouse-select-pane on \; set-option -g mouse-select-window on \; display 'Mouse: ON'
|
bind m set-option -g mouse on \; display 'Mouse: ON'
|
||||||
bind C-m set-option -g mode-mouse off \; set-option -g mouse-resize-pane off \; set-option -g mouse-select-pane off \; set-option -g mouse-select-window off \; display 'Mouse: OFF'
|
bind C-m set-option -g mouse off \; display 'Mouse: OFF'
|
||||||
#
|
#
|
||||||
# r and <ctrl>r to reloading ~/.tmux.conf and /etc/tmux.conf respectively
|
# r and <ctrl>r to reloading ~/.tmux.conf and /etc/tmux.conf respectively
|
||||||
bind r source-file ~/.tmux.conf
|
bind r source-file ~/.tmux.conf
|
||||||
|
|
|
@ -47,8 +47,8 @@ set-option -g mouse-utf8 on
|
||||||
# KEY BINDINGS
|
# KEY BINDINGS
|
||||||
#
|
#
|
||||||
# m and <ctrl>m to enabling and disabling the mouse respectively
|
# m and <ctrl>m to enabling and disabling the mouse respectively
|
||||||
bind m set-option -g mode-mouse on \; set-option -g mouse-resize-pane on \; set-option -g mouse-select-pane on \; set-option -g mouse-select-window on \; display 'Mouse: ON'
|
bind m set-option -g mouse on \; display 'Mouse: ON'
|
||||||
bind C-m set-option -g mode-mouse off \; set-option -g mouse-resize-pane off \; set-option -g mouse-select-pane off \; set-option -g mouse-select-window off \; display 'Mouse: OFF'
|
bind C-m set-option -g mouse off \; display 'Mouse: OFF'
|
||||||
#
|
#
|
||||||
# r and <ctrl>r to reloading ~/.tmux.conf and /etc/tmux.conf respectively
|
# r and <ctrl>r to reloading ~/.tmux.conf and /etc/tmux.conf respectively
|
||||||
bind r source-file ~/.tmux.conf
|
bind r source-file ~/.tmux.conf
|
||||||
|
|
Loading…
Reference in a new issue