On 26-Jan-13 22:40:42 +0100, Christian Brabandt wrote:

> Hi James!
> 
> On Sa, 26 Jan 2013, James McCoy wrote:
> 
>> On Sat, Jan 26, 2013 at 04:07:32PM +0100, Christian Brabandt wrote:
>>> Hi James!
>>>
>>> On Sa, 26 Jan 2013, James McCoy wrote:
>>>
>>>> On Sat, Jan 26, 2013 at 03:17:16PM +0100, Christian Brabandt wrote:
>>>>> Bram,
>>>>> when visual mode is active and one is jumping to another position
>>>>> using :<nr> visual mode is unexpectedly ended.
>>>>
>>>> Why is this unexpected?  You've changed from visual to cmdline mode.
>>>> The indication of visual mode is an aid to see the area on which you're
>>>> operating.
>>>
>>> Because I started visual mode and wanted it to highlight far down to a
>>> specific line which was several hundreds lines down. So I entered like
>>> always :1500 and visual mode ended. This was not nice ;)
>>
>> 1500G would be how I would recommend doing that, but I've seen other
>> people try :# before.  I'll leave it up to Bram on whether that should
>> work or not.
> 
> indeed 1500G should have worked. I just haven't thought about it, since
> I usually use the :# ex command.
> But its fair enough. I just found it unexpected and think it is more
> logically.

I find the new proposed behavior somewhat unexpected (though I rarely use :#);
you had to press <C-U> to get rid of the '<,'>, and that signals to me that
visual mode is done.

Instead of G, you can use :# today as well; it's just more typing:
    V:<C-U>1500<CR>V'<

-- regards, ingo

-- 
-- 
You received this message from the "vim_dev" 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



Raspunde prin e-mail lui