On Tue, Jul 21, 2009 at 13:11, John Sampson<[email protected]> wrote: > Many thanks - but even after searching the manual etc. I do not > understand how this solution > is constructed or arrived at. Perhaps Vim is not for me.
What don't you understand? The most complicated part of it is the regular expression, which you already figured out in your first e-mail. The rest is just a mapping, saying "when I press F8, execute what follows", and what follows is the substitute command. The 'noh' part is used to avoid keeping the searched pattern highlighted. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
