[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [VI] Slette linje med text pattern



On Wed, 22 Jun 2005 10:15:46 +0200
Mads Martin Joergensen <sslug@sslug> wrote:
> Hvordan så hvis jeg vil hælde dem ind i en buffer, eller smide dem
> over i et andet vindue?
> 

den er lidt svære. men en mulighed ville være

:g/foo/y
og så gå over i den rette buffer og trykke p eller P

vil du gøre det i en kommando så bliver det lidt nasty:
:g/foo/:normal yy:bn!^Mp:bp!^M 

^M er ctrl-v ctrl-m

tilsvarende kan gøres med vinduer men det bliver bare endnu grummere. 

-- 
   Kim Schulz   | Fundanemt Content Management system:         
 Geek by nature | http://www.fundanemt.com                    
   schulz.dk    | http://www.fundausers.org                    


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 18:45 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *