On 14/02/09 09:44, Dominique Pelle wrote:
> Matt Wozniski wrote:
>
>>> Cutting undo sequences seems more useful when
>>> typing text than when pasting text with the mouse.
>> Naturally - but, as I'm sure you know, with :set mouse=a (or, at
>> least, :set mouse=i or some such) pasting with the mouse automatically
>> behaves like :set paste is in effect, which is a much nicer option
>> where it's available.
>>
>> ~Matt
>
> I also had "set mouse=a" in my ~/.vimrc and ended commenting it.
> I found it too annoying that when clicking in a terminal to give focus to
> that window, it had the unwanted side effect of moving the cursor inside
> Vim in that terminal (to the location where I clicked).
>
> But I should give the mouse another try: "set mouse=vic" seems better
> to my liking, than "set mouse=a".
>
> -- Dominique

To give a window focus by one mouse-click without moving its cursor:
- either click its titlebar (if visible)
- or click its taskbar icon (which is normally always visible).

This applies to any window, not only Vim. (Clicking _inside_ any window 
will usually move its cursor, if there is one, to wherever you clicked, 
or if you clicked after the end of a line, to the end of that line.)

Best regards,
Tony.
-- 
Swipple's Rule of Order:
        He who shouts the loudest has the floor.

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

Reply via email to