Gary Johnson <garyjohn <at> spocom.com> writes:
>On 2015-02-13, Paul wrote:
>> h_east <h.east.727 <at> gmail.com> writes:
>>> Hi Paul.  2015/2/13(Fri) 5:40:27 UTC+9 Paul:
>>>> I use to press Ctrl-V and be able to scribe out a block of
>>>> highlighted text for deletion or yanking.  It use to exclude the
>>>> cursor's column.  Now it includes the cursor's column.  I'm not
>>>> sure what settings I made to change this.  What are the settings
>>>> that control whether Ctrl-V block highlighting includes the
>>>> cursor's column?
>>> 
>>> Perhaps you're wanting the 'selection' option set to 'exclusive'.
>>> 
>>> set selection=exclusive
>> 
>> Thanks!  I have no idea how it got set to non-exclusive.  I did not
>> even know about the existence of this setting.  Now that I do know,
>> however, I'll be on the lookout for what may have caused the
>> switch.
> 
> If it acts up again, you can execute
> 
>     :verbose set selection?
> 
> to find where it was set last.
Ben Fritz <fritzophrenic <at> gmail.com> writes:
> Possibly you have or had a "behave mswin" or similar in your .vimrc.
> The :behave command touches the selection setting, among other
> things.
I did indeed have behave mswin set.  Not sure why as I don't use those
ways of copy, cutting, or pasting in vim.  However, even after
commenting it out and restarting vim, selection was still inclusive,
and it was "Last set from /usr/share/vim/vim74/autoload/netrw.vim".
Which I can't live without.  So I guess I'll just set
selection=exclusive in _vimrc, and if that doesn't stick (e.g.,
overridden), I'll put it in an easily invokable function.
Thank you both.
-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment