Re: [dev] [st] Mouse usage in Vim

2011-05-10 Thread Jonathan Slark

On 10/05/2011 22:04, Aurélien Aptel wrote:

On Tue, May 10, 2011 at 10:27 PM, Aurélien Aptel
  wrote:

Ok, it's in tip. I have not modified st terminfo entry so be sure to test with
$ TERM=xterm vim /tmp/foo


Nevermind, I found the capcode for the mouse reporting. Make sure you
recompile the terminfo entry ($ tic st.info) before you test.


This works, thanks.

There is something wrong with the highlighting though.  If I drag to 
highlight a region when a region is already highlighted nothing ends up 
highlighted.  If I click to move the mouse cursor there is a brief flash 
on the line where the previous cursor was.


Is this related to only displaying the highlighting once the mouse 
button is released rather than updating whilst the button is held down?


If this feature causes problems it's something I can live without. 
Simply using the mouse for copy paste is sufficient.


Jon.



Re: [dev] [st] Mouse usage in Vim

2011-05-10 Thread Aurélien Aptel
On Tue, May 10, 2011 at 10:27 PM, Aurélien Aptel
 wrote:
> Ok, it's in tip. I have not modified st terminfo entry so be sure to test with
> $ TERM=xterm vim /tmp/foo

Nevermind, I found the capcode for the mouse reporting. Make sure you
recompile the terminfo entry ($ tic st.info) before you test.



Re: [dev] [st] Mouse usage in Vim

2011-05-10 Thread Aurélien Aptel
Ok, it's in tip. I have not modified st terminfo entry so be sure to test with
$ TERM=xterm vim /tmp/foo

Tell me if works correctly for you.



Re: [dev] [st] Mouse usage in Vim

2011-05-10 Thread Aurélien Aptel
Mouse support is not implemented but it seems rather straightforward
to do [1]. I'll have a look at it.

1: 
http://www.usf.uni-osnabrueck.de/infoservice/doc/localhtml/rxvt/refer.html#Mouse



[dev] [st] Mouse usage in Vim

2011-05-09 Thread Jonathan Slark

Hi,

I use a version of Vim compiled with X11 support.  When running vim 
under urxvt I can use the mouse for Visual Mode etc.


This doesn't work for me under st.  I tried using "TERM=xterm vim" but 
that didn't help.


Is this something that would be added when the xterm compliance feature 
is implemented?


Thanks,
Jon