What I would like to do is retab all lines in the file matching a
given regular expression. Here's what I've tried

:g/^#/ret! 100

however this is simply retabbing the entire file.

But if I say

:g/^#/d

it only deletes the specified lines.

How do I make it work?
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to