在 vim 中可以正常滚动,但在 tmux 中则不行。
我遵循了添加等建议
set -g history-limit 1000
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
setw -g mode-mouse on
set-window-option -g mode-mouse on
到.tmux.conf
,但没有一个有帮助
无论上面如何,我得到的只是历史命令滚动。
最佳答案
正确的命令是:
set -g mode-mouse on
您还可以将其添加到 ~/.tmux.conf
关于scroll - tmux 中鼠标滚轮不滚动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10867648/