I'm having a strange problem with Vim, screen and putty.
I am connecting to Screen through Putty, which, in general, works fine. I have had some issues with getting scrolling to work in Vim, however.
- I set
termcapinfo xterm* ti@:te@in my screenrc so that I can use the mousewheel to scroll. It doesn't work great (scrollback gets muddled between screen windows), but I prefer it to using the keyboard
- I have
set term=xtermin my vimrc.
- Also in my vimrc, I have set
ttymouse=xterm2, so that I can use the mousewheel. This is where problems arise
- When I scroll with the mouse in the left side of the PuTTY window, it works fine
- When I scroll with the mouse in the right side of the PuTTY window, random characters either get inserted into the file I'm editing, or into the Vim command line.
I can't find anyone else with this problem when I've searched, and I'm at a loss for things to try. Any suggestions as to what I could try would be really useful.
Let me know if I can provide any more information.