Pyl*_*nux 50
现在它在iTerm2中实现,可以通过激活
设置 - > 高级 - > 滚动轮在备用屏幕模式下发送箭头键并将其更改为 是
(defaults write com.googlecode.iterm2 AlternateMouseScroll -bool true
仍然可以,但它只是改变相同的设置)
Ale*_*puy 41
iTerm2 问题现在标记为"已修复" - 但修复方法是添加隐藏选项,因此如何启用新AlternateMouseScroll
选项并不是很明显.
正如Filippo Valsorda(补丁的作者)所写,一旦你安装了iTerm2的夜间版本(仍然不在1.0.0.20140629中),只需运行以下命令:
$ defaults write com.googlecode.iterm2 AlternateMouseScroll -bool true
Run Code Online (Sandbox Code Playgroud)
重启iTerm2,当终端处于less,vim,emacs等程序使用的"备用屏幕"(直接寻址)模式时,所有窗口都会报告滚动事件为向上/向下箭头键逃逸.
对于提供额外鼠标支持的vim和emacs等应用程序,您仍然需要启用鼠标报告模式,因为此自动模式切换仅启用滚动.
归档时间: |
|
查看次数: |
12962 次 |
最近记录: |