On Sep 16, 11:54 am, Hoss <[email protected]> wrote:
> > Just a guess:
> > :g/^#/.ret! 100
>
> With this I am not getting any lines replaced
>

Hoss, please bottom-post according to our list guidelines. I have
reformatted this email for you.

I tried the above command, and it worked fine for me.

Your command was doing the entire file because the :retab command
defaults to act on the entire file. Putting a . in front of it
specifies only the current line as the range. The :g command sets the
current line to each matched line before executing the command.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to