mirror of
https://github.com/prurigro/darkcloud-tmuxconfig.git
synced 2024-12-27 11:04:34 -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
|
||||
#
|
||||
# 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 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 m set-option -g mouse on \; display 'Mouse: ON'
|
||||
bind C-m set-option -g mouse off \; display 'Mouse: OFF'
|
||||
#
|
||||
# r and <ctrl>r to reloading ~/.tmux.conf and /etc/tmux.conf respectively
|
||||
bind r source-file ~/.tmux.conf
|
||||
|
|
|
@ -47,8 +47,8 @@ set-option -g mouse-utf8 on
|
|||
# KEY BINDINGS
|
||||
#
|
||||
# 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 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 m set-option -g mouse on \; display 'Mouse: ON'
|
||||
bind C-m set-option -g mouse off \; display 'Mouse: OFF'
|
||||
#
|
||||
# r and <ctrl>r to reloading ~/.tmux.conf and /etc/tmux.conf respectively
|
||||
bind r source-file ~/.tmux.conf
|
||||
|
|
Loading…
Reference in a new issue