On Sun, Jun 21, 2009 at 1:32 PM, <[email protected]> wrote:
>
> Matt Wozniski <[email protected]> [09-06-21 19:04]:
>>
>> On Sun, Jun 21, 2009 at 6:27 AM, <[email protected]> wrote:
>> >
>> > Hi,
>> >
>> >  I am using the terminal version of vim under linux.
>> >
>> >  I had opend a *.c file.
>> >  I splitted the window horizontally in two by using
>> >  :sp
>> >  Then I moved the status line of the second window
>> >  withe moud a little up.
>> >  Then I activated the lower window and did a
>> >  :vsp
>> >
>> >  Now I tried to mouse the vertical bar woth the mouse,
>> >  which does not work.
>> >
>> >  Is this vim's normal behaviour, did I forget to compile
>> >  in a certain feature or to set an option or did I create
>> >  the splits in the wrong sequence or...
>> >
>> >  (Yes I know of ctrl-w < and ctrl-w >, but I am curious
>> >  about the mouse thing...)
>>
>> It's possible, as long as you tell vim to take control of the mouse,
>> and your terminal emulator allows applications to control the mouse.
>> Most do, but there are some notable exceptions, like OS X's
>> Terminal.app.  If your terminal emulator allows it, just putting
>>
>>     set mouse=a
>>
>> int your vimrc should do the trick.  See  :help 'mouse'
>>
>> ~Matt
>
> Hi Matt,
>
> may I cite myself? ;)
>
>> >  Then I moved the status line of the second window
>> >  with the mouse a little up.
> (i fixed my typos...)
>
> Mouse works only on horizontal status lines not on vertical ones...

Ah, I missed that.  Well, then - what is 'ttymouse' set to?  In most
modern terminal emulators, it should be 'xterm2'.  If that is correct,
perhaps it's a limitation of your terminal emulator?  I remember old
versions of konsole having some weird problem with mouse support, this
may have been it...

~Matt

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

Reply via email to