danstender wrote:
> I need a - delete every line beginning with "\dn"

See these:
http://vim.wikia.com/wiki/Delete_all_lines_containing_a_pattern
http://vim.wikia.com/wiki/Power_of_g

For your case:

:g/^\\dn/d

Since I haven't tested the above, it would be a good idea to first do
the following to list the lines which the above would delete:

:g/^\\dn

John


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to