Thursday, June 28, 2012

Re: g_ different from :normal! g_

On 06/28/12 15:32, rockybalboa4 wrote:
> 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?

I suspect it's a bug. From some quick testing

:norm dg_

works, and

dg:norm _

chokes at the ":", returning to normal mode.

It's been a long time since I played around with "g_", as I've never
found a time I wanted to keep trailing space.

-tim


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

Post a Comment