Kyku schrieb: > Hello > > Is there something like matched text register, i.e. a register that > would record matched pattern for every line in a file or a region, so > that it could be used in a :g command? If now is there a way to > simulate this behaviour? > > Yours > Kyku
You want to collect the text of all the matches? I once had a similar problem: http://groups.google.com/group/vim_dev/browse_frm/thread/e4f2df8115427ac9 There isn't a register that collects the matches. The :global command can only mark lines, not matches (see :h :g and scroll down some lines; you'll find an explanation how :g works). -- Andy --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
