问题
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