better mouse scrolling in tmux

This commit is contained in:
surtur 2020-03-25 03:58:53 +01:00
parent 15bcfd4ddd
commit d85950ce1c
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -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'"