> I want go through the entire file and remove the lines with the words > "foo". Not just remove the word, but the entire line. > > How is this done in vim? > > I tried :%s/foo//g > > but it left the line
You'd want :g/foo/d -tim --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---