[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] tekst ombrydning





Daniel Udsen <sslug@sslug> wrote:

> er det ikke stadig kun for nye linier?

Det må du jo selv finde ud af. gqq er ombrydning af current line, og i
virkeligheden bør du være glad for, at vim ikke laver om på linier, når
du retter noget ude for enden. Der er en af de der formatoptions (set
fo=tcq) som tillader at den ændrer eksisterende linier, når du taster,
men det er ikke det samme som at omformatere en hel paragraf. Selvf.

> er der ikke en måde at sende teksten igennem et ekstern
> program og så importere den formaterede tekst tilbage ved der
> findes en formatprg men den har svjk det samme problem med at det
> ikke gælder for gamle linier.


Stil dig øverst i paragraf, fx.

Tryk "}!fmt -65" og return, så sender du det igennem fmt(1)

man fmt afslører, at det er et ret godt program. Den kan 
somme tider lave kønnere formatering end gq}




-- 
sslug@sslug -- Linux works for me.  http://d-axel.dk/


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 18:44 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] *