On Mon, 2010-01-25 at 10:58 -0600, sc wrote:
i strongly suspect you are not actually using vi, but its much improved descendant, vim
Indeed it is vim. Just a habit to call it vi.
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
This had no effect. In the editor, I checked that the settings were there (:nmap), and they show up as: n <MouseUp> <Nop> n <MouseDown> <Nop> Perhaps it is the actual Escape sequence I must define instead of MouseUp? Maybe that is what you meant? Anyway, I tried removing all the mapped keys that do k/j, and still the scrolling occurred. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org