On Fri, May 25, 2012 11:40, 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 ".";)
It's a range. See :h range and in your case means to only append the current line found by the :g command into the file errors.txt regards, Christian -- 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
