Can't make work ScrollWheel map in vim

 ̄綄美尐妖づ 提交于 2019-12-14 03:15:07

问题


I have a little problem with mapping vim shortcuts for my mouse wheel. I can't make this work :

set mouse=a
set nowrap
noremap <C-ScrollWheelUp> 3zh
noremap <C-ScrollWheelDown> 3zl

On the other hand, the following is working (but not convenient, i just tested it to see if ScrollWheelUp/Down was working) :

set mouse=a
set nowrap
noremap <ScrollWheelUp> 3zh
noremap <ScrollWheelDown> 3zl

What is my problem ?

来源:https://stackoverflow.com/questions/17083641/cant-make-work-scrollwheel-map-in-vim

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!