On my windows machine if I edit a file with vim an scroll the mouse up
I get 'a' and a newline inserted and when I scroll down I get a
'b'/newline. When I change my TERM to 'linux' the problem goes away,
but then vim does not set the filename in the title. I'm curious if
this is a bug or if there is something I can put in my
.bashrc/.inputrc/.vimrc to fix it.
Thanks, Jeff
Jeff Bisbee / jbi...@gmail.com
Jeff Bisbee / jbi...@gmail.com
You are the man. I opted for option 2. It allows me to scroll
through my buffer without borking cut and paste as you suggested. I
still have one question though. Why when I set my TERM to 'linux'
does the mouse wheel scroll the bash buffer? I actually use that
something to look a prior command's output or something. I think I do
like the vim buffer scrolling better so kudos to you for pointing out
the vimrc options, but I'd also like to understand what's going on.
-Jeff
Actually, thats my original problem. Until other terminal emulations,
mintty does _not_ scrollback the buffer and thats the behavior I
expected.
I have another problem with the .vimrc approach. At work in my dev
environment it works great, but when I go to a production machine (we
have 1000s) and i have to edit a file the darn scroll
a
a
a
a
a
a
b
b
b
b
b
b
hits me again.
Under cygwin, I launch an xserver and then an xterm I don't have the
issue. I scroll back to the buffer as I would expect. So I pose the
question again, could there be a bug?
-Jeff