Remove mode-mouse setting

Closes #4
This commit is contained in:
Bruno Sutic 2014-08-11 18:07:04 +02:00
parent 74c4a76bfa
commit fa3e8b91ea
No known key found for this signature in database
GPG Key ID: 66D96E4F2F7EF26C
3 changed files with 3 additions and 4 deletions

View File

@ -5,6 +5,7 @@
- set `mode-mouse on` by default - set `mode-mouse on` by default
- do not make any decision about the prefix, just enhance it - do not make any decision about the prefix, just enhance it
- update `README.md`. List options set in the plugin. - update `README.md`. List options set in the plugin.
- do *not* set `mode-mouse on` by default because some users don't like it
### v1.0.0, 2014-07-30 ### v1.0.0, 2014-07-30
- initial work on the plugin - initial work on the plugin

View File

@ -44,8 +44,7 @@ Inspired by [vim-sensible](https://github.com/tpope/vim-sensible).
# upgrade $TERM # upgrade $TERM
set -g default-terminal "screen-256color" set -g default-terminal "screen-256color"
# enable all mouse features for terminals that support it # enable mouse features for terminals that support it
setw -g mode-mouse on
set -g mouse-resize-pane on set -g mouse-resize-pane on
set -g mouse-select-pane on set -g mouse-select-pane on
set -g mouse-select-window on set -g mouse-select-window on

View File

@ -80,8 +80,7 @@ main() {
tmux set-option -g default-terminal "screen-256color" tmux set-option -g default-terminal "screen-256color"
fi fi
# enable all mouse features for terminals that support it # enable mouse features for terminals that support it
tmux set-window-option -g mode-mouse on
tmux set-option -g mouse-resize-pane on tmux set-option -g mouse-resize-pane on
tmux set-option -g mouse-select-pane on tmux set-option -g mouse-select-pane on
tmux set-option -g mouse-select-window on tmux set-option -g mouse-select-window on