Hi Hoss!

On Mi, 16 Sep 2009, Hoss wrote:

> 
> 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.
> 

Just a guess:
:g/^#/.ret! 100

regards,
Christian
-- 
Contrary to popular belief, Unix is user friendly.
It just happens to be selective about who it makes friends with.
                                               -- Dave Parnas

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

Reply via email to