Hi all,

Very interesting thread
Is it possible to extend/modify the proposed solutions to remove blank lines
around the cursor and keep just the line containing the cursor, like:

Some text
blank line
blank line            Some text
cursor line ----> cursor line
blank line            Some text
Some text

Tank you
Regards

Francois

2008/10/14 Marc Weber <[EMAIL PROTECTED]>

>
> On Tue, Oct 14, 2008 at 02:05:52PM +1100, Chris wrote:
> >
> > 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.
> I don't quite get your problem, I don't know what an empty region is.
>
> But if your problem is about tabs and whitespaces vim can do some things
> for you
> :h
> set list
> :s/... (substitute)
> expandtab
> ...
> Should be easy to find those settings by using a google search.
>
> Maybe I've missed your point
>
> Marc Weber
>
> >
>

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

Reply via email to