Philip --

...and then Philip Mak said...
% 
% I'm used to using pine's editor, which handles filling of paragraphs (even
% if they start with "> " due to quoting) fairly nicely.
% 
% How can I achieve the same thing in vi? I'd like to be able to bind a key
% such that when I press it, it automatically refills the current paragraph
% smartly. Some automatic line wrapping would be nice, too... I'm wondering
% what configurations for .vimrc do you guys use for use with mutt?

fmt won't work for quoted text, but a command like

  map f !} fmt -c
  map F !} fmt -c -w 78

in your .exrc will bind the f and F keys to pump your current paragraph
through fmt -- which is particularly handy if you are using just vi and
don't have the additional features of vim (you mentioned vim in the
subject but vi in the body so perhaps, as I, you use both).

HTH & HAND


Merry Christmas to all!

:-D
-- 
David T-G                      * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: msg21879/pgp00000.pgp
Description: PGP signature

Reply via email to