Cygwin and Vim - Command Prompt is capturing mouse wheel scrolling and not Vim
So I have the setting in my ~/.vimrc file set correctly
set mouse=a
set ttymouse=xterm2
However, when I am using vim and I try scrolling with my mouse wheel, the scroll bars on the command prompt move instead of vim scrolling internally. This makes a mess for vim, especially when my I am moving throughout my code.
This was working before and may开发者_开发问答 be related to the Command Prompt Settings - although I am not sure which ones.
I have also tried to go through the Control Panel's Mouse Settings and give gvim
an exception, but I don't have that option in Windows 7.
The version of Cygwin and vim are pretty recent. Thoughts?
I think you simple miss the option:
se mouse=a
I might be oversimplifying though since I use mintty. Mintty can just be installed from the cygwin setup.exe. Mintty has huge advantages anyway:
- performance
- standards compliance
- screen support (you can detach/reattach without problems, woot!)
- functioning full-screen support (AltEnter)
精彩评论