On 2009-11-19, Roald de Vries wrote:
> On Nov 19, 2009, at 3:46 PM, Jürgen Krämer wrote:
> >> I'm using a tab separated values file with pretty long lines --- too
> >> long for my screen. Is it somehow possible to scroll horizontally  
> >> with
> >> the mouse?
> >
> > if you use the GUI version you can let Vim display a horizontal
> > scrollbar by including the 'b' flag in the 'guioptions' option:
> >
> >  :set guioptions+=b
> 
> Thanks for the tip, but this is not quite the answer I was looking  
> for. I'm using a terminal. But from this I may derive that it's more  
> of a terminal emulator's issue than a vim issue?

It depends on how you look at it.  Not having a horizontal scroll
bar is a terminal issue, but not having the ability to scroll using
the mouse is a vim issue.  The w3m browser allows scrolling with the
mouse in a terminal and it can be very handy.  I don't know of any
way to get that behavior in vim, though.

The best I can suggest is binding some gross scrolling commands
to function keys.  See

    :help scroll-horizontally

for a list of commands.  You might be able to get your mouse's
scroll wheel to execute horizontal scrolling commands.  See

    :help xterm-mouse-wheel

Regards,
Gary



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to