Skip to content

Instantly share code, notes, and snippets.

View Araeos's full-sized avatar

Felix Esch Araeos

  • Germany
View GitHub Profile
@Araeos
Araeos / .tmux.conf
Last active August 29, 2015 14:25 — forked from h14i/tmux-mouse-toggle
# tmux-mouse-toggle
# via http://qiita.com/kawaz/items/7b15e18ca8e072c1dc57
#
# Changes:
# - Modified 2015-07-27 by Araeos: modified shell code to work inline the .tmux.conf file with key binding.
# - Original gist by h14i
bind-key m run-shell "if [[ -n \$TMUX ]]; then \
if [[ -z \"$(tmux show-options -gw mode-mouse | grep off)\" ]]; then \
tmux set-option -gq mouse-utf8 off; \