[CLUE-Tech] vim question: doing a large document using join

Dale Hawkins dhawkins at cdrgts.com
Tue May 7 14:30:14 MDT 2002


On Tue, 2002-05-07 at 10:55, Kevin Cullis wrote:

> There's a letter circulating, purportedly from 
> Villanueva Nuñez to Microsoft Peru, which cuts 
> 'panic points' to chill those considering. 

[del]

> There's a letter circulating, purportedly from Villanueva Nuñez to
> Microsoft Peru, which cuts 'panic points' to chill those considering. 

Another good solution is fmt.  Back in my vi daze (before vim was
available), I used to do this sort of thing with something like 

!}fmt

but I have not been much of a vi/vim user for over five years.

Or from what I understand you could write your own using some of the vim
extension facilities (there is an article in the current Linux Magazine
about extending vim using Ruby).


(x)emacs may also offer a good solution.  (Using the viper package, you
get pretty good vi emulation -- I used it as a crutch until I was more
comfortable with the emacs way).

1. Set the mark.
2. M-x fill-individual-paragraphs

or another of the other twenty ways to do this.  :-)

I really do not want to start the whole holy war thing, but since
becoming an emacs user, I cannot imagine using anything else (I used to
use emacs for email, but the proliferation of html/graphics began to
make GNUS show its age).

-Dale

-- 
Now playing:
Counting Crows - August & Everything After - (2) - Omaha

Better to have endured moments of sheer terror, than to have died having
lived life a coward.

A good solution now is better than a perfect solution tomorrow.
- From debian-curiosa

Payin' the bills with my mad programming skills.
- Weird Al




More information about the clue-tech mailing list