I have:
nnoremap <ScrollWheelUp> k
nnoremap <S-ScrollWheelUp> k
nnoremap <C-ScrollWheelUp> k
nnoremap <ScrollWheelDown> j
nnoremap <S-ScrollWheelDown> j
nnoremap <C-ScrollWheelDown> j
inoremap <ScrollWheelUp> <c-x><c-y>
inoremap <S-ScrollWheelUp> <c-x><c-y>
inoremap <C-ScrollWheelUp> <c-x><c-y>
inoremap <ScrollWheelDown> <c-x><c-e>
inoremap <S-ScrollWheelDown> <c-x><c-e>
inoremap <C-ScrollWheelDown> <c-x><c-e>
this works on iTerm but doesn't overwrite the default scroll behavior (applying my maps but still applies the default behaviors which is scrolling 3 lines up/down). I tried on macvim and that successfully replaced the default behavior.
echo "scroll up"
instead ofk
press in your mapping, and then verify how many entries there is with:messages
command (if they won't all show up in the message area)echom