Monday, July 16, 2012

Re: g_ different from :normal! g_

On Sunday, July 15, 2012 4:53:46 AM UTC-5, Andy Wokula wrote:
> Am 28.06.2012 22:32, schrieb rockybalboa4:
> > Is there any rationale behind the fact that
> > dg_
> > yields different results than
> > d:normal! g_
> > ? The latter does not reach the last character on the line. Is it
> > documented? Shouldn't it be documented? Is it a bug?
>
> It's not a bug,
> :h {motion}
>
> "Ex commands can be used to move the cursor ... The motion is always
> characterwise exclusive"
>

Thanks, I thought I remembered reading that, but couldn't find the reference.

--
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: