Friday, May 25, 2012

Re: Period in global command

On Fri, May 25, 2012 at 05:40:59AM EDT, John Degen wrote:

> I'm having trouble understanding why there is a period before "w" in
> the following command:
>
> :'a,'b g/^Error/ .w >> errors.txt
>
> Does it indicate the current directory? It's difficult searching the
> help for just a ".";)

'.' is the line under the cursor

:h range

CJ

--
Oh My God!!! Larry is back!

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