Make the scrolling with the mousewheel smooth
This commit is contained in:
parent
5b30c7acc7
commit
50fa9306fd
@ -1,2 +1,15 @@
|
||||
# Enable mouse support
|
||||
set -g mouse on
|
||||
|
||||
# make the scrolling smooth
|
||||
bind-key -T copy-mode-vi WheelUpPane \
|
||||
select-pane \; send-keys -X -N 1 scroll-up
|
||||
|
||||
bind-key -T copy-mode-vi WheelDownPane \
|
||||
select-pane \; send-keys -X -N 1 scroll-down
|
||||
|
||||
bind-key -T copy-mode \
|
||||
WheelUpPane select-pane \; send-keys -X -N 1 scroll-up
|
||||
|
||||
bind-key -T copy-mode \
|
||||
WheelDownPane select-pane \; send-keys -X -N 1 scroll-down
|
||||
Loading…
x
Reference in New Issue
Block a user