Wednesday, March 3, 2010

Re: selection including cursor character

On 03/03/10 21:58, rameo wrote:
> Thank you Tony.
> That is the solution. :-)
>
>> set selection=inclusive keymodel=startsel selectmode=key
>

selection=inclusive, probably. keymodel=startsel (without stopsel) means
that shift-arrow will start a selection but arrow keys (with or without
Shift) will extend it. selectmode=key (and key,mouse if compiled with
+mouse) means that shift-arrow or mouse-drag will start Select mode, not
Visual mode.

selection=inclusive is the Vim default, but :behave mswin (or :runtime
mswin.vim) changes it to exclusive, probably in the hope of aping more
closely what Notepad et al. do on Windows. <shrug />


Best regards,
Tony.
--
press CTRL-ALT-DEL for more information

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: