tmux-plugins / tmux-sensible

basic tmux settings everyone can agree on
MIT License
1.73k stars 90 forks source link

Can't disable mode-mouse #10

Closed 4e4c52 closed 9 years ago

4e4c52 commented 9 years ago

Hello,

I'd like to disable the mouse in tmux as I find it very irritating. However, I can't manage to disable it.

Here is the relevant part of my tmux.conf file.

# Mouse mode
setw -g mode-mouse off
set -g mouse-select-pane off
set -g mouse-resize-pane off
set -g mouse-select-window off

# ...

# List of plugins
# Supports `github_username/repo` or full git URLs
set -g @tpm_plugins "              \
  tmux-plugins/tpm                 \
  tmux-plugins/tmux-sensible       \
  tmux-plugins/tmux-resurrect      \
"

# initializes TMUX plugin manager
run-shell ~/.tmux/plugins/tpm/tpm

Amy idea?

Thanks!

bruno- commented 9 years ago

Hi, hm.. I never thought people would want to disable mouse support so until now the plugin just unconditionally enabled mouse support you can see that here. It's tough to do any checking for this because the options are "binary" - just on and off.

mode-mouse wasn't enabled because, yea, that one can get annoying.

I hope this didn't loose you too much time. So can you just confirm - you want to have all the mouse related options set to off?

4e4c52 commented 9 years ago

Hi,

Thanks for your reply. Yes I'd prefer to have all the mouse options disabled ;)

bruno- commented 9 years ago

Hm.. well, all the options are off by default so that probably means tmux-sensible should just let the users set what they want. Gimme a couple while I update this.

bruno- commented 9 years ago

Hi, all mouse related options are removed. Just update the plugin and you should be good.

Since I think these options are what 95% users would want, I'll probably create some option that, when (explicitly) turned on will set mouse options. I think the option will be called 'less-sensible' hehe.

4e4c52 commented 9 years ago

Thank you very much! :+1: