Hi,
thanks for that: I checked, and it's set to mouse =ar mousemodel =
extend,
but click at a position still doesn't not move the block cursor
position; although triple clicking selects the word...
any idea what the issue could be?
thanks,
I'll keep checking the help file too...
Mayur
On Sat, 09 Dec 2006 21:39:59 -0000, A.J.Mechelynck
<[EMAIL PROTECTED]> wrote:
Mayur Pant wrote:
Hi,
I may be shunned from the vim console using community for asking
this, but,
is there anyway to simulate the behaviour of gvim from the
console, ie.
left click to position the cursor to a point within the text,
right click to select blocks of it,
middle click to paste
(it already does the second two).
I would find this a lot faster in most circumstances (sometimes I
don't know how many n's back a character is off the top of my head).
Thanks.
Mayur
Left-clicking should already position the cursor, but you can do
:verbose set mouse? mousemodel?
followed by
:set mouse=ar mousemodel=extend
which makes the mouse act as folows:
left-click: set cursor
left-drag: start selection
shift-left: search word
right-click: extend selection
right-drag: extend selection
middle-click: paste
see
:help 'mouse'
:help 'mousemodel'
In addition,
- don't source mswin.vim
- either don't use ":behave", or use ":behave xterm" which (among
others) sets 'mousemodel' to "extend".
Best regards,
Tony.