currently i am java developers who is addicted to eclipse( java ide),
notepad++
would it help me if i start learning vim consider it steep learning curve
may not be now but would it help me in the long run


On Fri, Nov 9, 2012 at 10:34 AM, John Little <[email protected]>wrote:

> How about
>
> 1)  Concatenate and sort all the files, either outside vim and load them
> into vim, or in, say
>
>     :for x in expand('file*',0,1) | exe 'r ' . x | endfor | sort
>
> 2) Decorate those of interest, say
>
>     :%s/^\(\(.\{-}\),.*\)\n\(\2,.*\)$/\1@!@\r\3@!@/
>
> 3) Delete the uninteresting:
>
>     :v/@!@/d
>
> 4) Remove the decorations:
>
>     :%s/@!@//
>
> Steps 2,3,4 could be combined using a look behind regex, I imagine.
>
> Regards, John
>
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>



-- 
*Thanks & Regards
 Vickyb

*

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to