scroll - tmux 中鼠标滚轮不滚动

标签 scroll ubuntu-11.10 tmux

在 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/

相关文章:

javascript - 如何保持动态刷新 div 上的滚动位置?

javascript - .ScrollLeft 在 Firefox 中的问题

jquery - animate() 在滚动停止之前不会触发

gnu-screen - 从客户端运行 gnu-screen/tmux/byobu

tmux - 创建新窗口并设置名称

javascript - 停在特定的 div 上,直到它滚动到末尾。 (CSS/JS)

android - 在 ubuntu 11.10 上配置 android 时出现错误

python - 升级到 1.1.0 后 Matplotlib 停止工作

ruby - Nokogiri 1.5.2 未安装在 Ubuntu 11.10 上

ssh - xclip 在 Ubuntu VirtualBox VM 的 tmux session 中提供 `Error: Can' t 打开显示 : localhost:10. 0`