From d85950ce1c5946d292043f654dec7dea207aa66b Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 25 Mar 2020 03:58:53 +0100 Subject: [PATCH] better mouse scrolling in tmux --- .tmux.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.tmux.conf b/.tmux.conf index f88ad1b..931b644 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -19,6 +19,7 @@ set -g @yank_selection 'primary' # or 'secondary' or 'clipboard' set -g @yank_selection_mouse 'clipboard' # or 'primary' or 'secondary' set -g @yank_action 'copy-pipe-and-cancel' # or 'copy-pipe-and-cancel' for the default setw -g monitor-activity on +set -g @scroll-speed-num-lines-per-scroll 1 bind-key v split-window -h bind-key s split-window -v @@ -65,6 +66,7 @@ set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'tmux-plugins/tmux-copycat' set -g @plugin 'tmux-plugins/tmux-battery' +set -g @plugin 'nhdaly/tmux-better-mouse-mode' if "test ! -d ~/.tmux/plugins/tpm" \ "run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"