Friday, February 4, 2011

Re: A tricky yank task

On 02/04/2011 10:17 AM, Asis Hallab wrote:
> I have a question about your command.
> Could you explain, what the
>
>> :let @a=''|g/^=\{10\}\n.*\n- Note\>/'}+;/^=\{10\}/-y A
>>
>> |g/ does?
>
> I searched :help g/ but could not find anything.

The "|" is a separator for (some) ex commands, so it would be
like typing

:let @a=''
:g/^...

so you want to read at

:help :g
:help :bar

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