[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
 

Indrykke linie x til linie y?



Hej,

Kan det lade sig gøre (og hvordan?) at indrykke fra linie X til linie Y med
tegn Z i vim?
Altså fx hvis jeg har en masse tekst:

<tilfældigt cut&paste>
    1 1050
    2  Kongens Nytorv 1051
    3  Nyhavn 1052
    4  Herluf Trolles G
    5 1053
    6  Cort Adelers Gader 1054
    7  Peder Skrams Gade 1055
    8  Tordenskjoldsgade
    9 1056
   10  Heibergsgade 1057
   11  Holbergsgade 1058
   12  Havnegade
   13 1059
   14  Niels Juels Gade 1060
   15  Holmens Kanal 1061
   16  Ved Stranden
   17 1062
   18  Boldhusgade 1063
   19  Laksegade 1064
   20  Asylgade
   21 1065
   22  Fortinstræde 1066
</tilfældigt cut&paste>


kan det så lade sig gøre at indrykke linie 3 til 7 med strengen "Fuglebur"
(eksempel).
Så det blir til?

    1 1050
    2  Kongens Nytorv 1051
    3 Fuglebur Nyhavn 1052
    4 Fuglebur Herluf Trolles G
    5 Fuglebur1053
    6 Fuglebur Cort Adelers Gader 1054
    7 Fuglebur Peder Skrams Gade 1055
    8  Tordenskjoldsgade
    9 1056
   10  Heibergsgade 1057
   11  Holbergsgade 1058
   12  Havnegade
   13 1059
   14  Niels Juels Gade 1060
   15  Holmens Kanal 1061


-- 
Med venlig hilsen
Thomas Damgaard
http://tdn.peps.dk
Musikere tjener penge på ulovligt kopieret software.




 
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] *