On Monday 25 January 2010 07:31:54 am Roger Oberholtzer wrote:
Also in konsole, cursor movement via the mouse wheel while using vi is a really nice feature added in KDE4, however, if your mouse wheel is smooth instead of clicking as it is spun, dragging and dropping text while in an edit mode, is very difficult as the text will get dropped in the wrong place if the wheel moves just the slightest little bit as you push the wheel button to drop in your text. Very annoying. A mouse that has a wheel that clicks as it is spun doesn't seem to be a problem.
This has been driving me crazy as well. I use this kind of cut and paste in vi very often. Is there no way to disable this in vi? I am not sure how that would work, as it is really a konsole thing. But maybe vi could be told to ignore the scroll wheel? I use vi keys for this anyway. And, of course, that still does not get at the core issue. But it would make my use more pleasant.
i strongly suspect you are not actually using vi, but its much improved descendant, vim the command :ver will answer that question for you if vim, see :help scroll-mouse-wheel for an explanation on what is going on -- i believe from reading that help you could disable mousewheel scrolling by putting something like nmap <MouseDown> <Nop> nmap <MouseUp> <Nop> in your ~/.vimrc sc -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org