You can delete this line with :%g/regex/d
In your case, try this:
:%g/^ *$/d to delete lines with spaces.
:%g/^^I*$/d to delete lines with only tabs.

2008/10/14 Chris <[EMAIL PROTECTED]>

>
> I have a few dot rc files with empty regions (white spaces or tab) -
> they can't be seen udner naked eyes - only felt while editing.
>
> Is there any way to delete these empty regions? I've been doing
> Meta-J, x but it's a tedious process.
>
> Thanks.
>
> >
>


-- 
----------------------------------------------
Roberto Miura Honji
LAS - Laboratório de Administração e Segurança de Sistemas
Engenharia de Computação - 2006
Instituto de Computação - UNICAMP

email: [EMAIL PROTECTED] (principal)
email: [EMAIL PROTECTED]
msn:   [EMAIL PROTECTED]
-------------------------------------------

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

Reply via email to