Hi Thomas,
* Thomas Hurst [EMAIL PROTECTED] [Die 25 Dez 2001 12:14:19 GMT]:
[ ... reformating paragraphs in replys ... ]
I use par(1), http://www.cs.berkeley.edu/~amc/Par/
How (with which parameters) do you use it? I saw it a few months ago
but got confused with parameters...
Ciao, Gregor
* Gregor Zattler ([EMAIL PROTECTED]) wrote:
* Thomas Hurst [EMAIL PROTECTED] [Die 25 Dez 2001 12:14:19 GMT]:
[ ... reformating paragraphs in replys ... ]
I use par(1), http://www.cs.berkeley.edu/~amc/Par/
How (with which parameters) do you use it? I saw it a few months ago
but got
Alas! Thomas Hurst spake thus:
How (with which parameters) do you use it? I saw it a few months ago
but got confused with parameters...
I stole PARINIT=grTbiqR B=.?_A_a Q=_s:| from someone and call it with
If I'm not mistaken, that looks _exactly_ like what the man page tells
you to use
* Rob 'Feztaa' Park ([EMAIL PROTECTED]) wrote:
Alas! Thomas Hurst spake thus:
I stole PARINIT=grTbiqR B=.?_A_a Q=_s:| from someone and call it
with
If I'm not mistaken, that looks _exactly_ like what the man page tells
you to use if you want to use par now, but understand it later. Then
Alas! Thomas Hurst spake thus:
I stole PARINIT=grTbiqR B=.?_A_a Q=_s:| from someone and call
it with
If I'm not mistaken, that looks _exactly_ like what the man page
tells you to use if you want to use par now, but understand it
later. Then again, maybe it just looks vaguely similar
Philip, et al --
...and then Philip Mak said...
%
% I tinkered around a bit more and came up with this code for making Ctrl+J
% (justify paragraph) work, even with quoted text.
Cool -- I like it a lot (or at least the *Para functions).
%
% It assumes that ^[ ]*$ is the paragraph separator,
BTW, regarding those other suggestions involving binding fmt or par
to a key, isn't it slow to fork a process every time you press the
rejustify key, or is that overhead negligible?
it really depends on how often you do it (I don't do this one, but have
equivalent cases in mind).
--
Thomas
On Tue 25-Dec-2001 at 06:33:15AM -0500, Philip Mak wrote:
I'm used to using pine's editor, which handles filling of paragraphs
(even if they start with due to quoting) fairly nicely.
I'm wondering what configurations for .vimrc do you guys use for use
with mutt?
I don't know where it
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
Le 25/12/01 à 06:33, Philip Mak écrivit:
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
On Tue, Dec 25, 2001 at 06:33:15AM -0500, Philip Mak (dis)graced my inbox with:
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
* Philip Mak ([EMAIL PROTECTED]) wrote:
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
I did some digging around Google and came up with this:
[pmak@lina pmak]$ cat .muttvimrc
map C-J {gq} # Ctrl+J rejustifies current paragraph
set formatoptions=tcroqv# see :help formatoptions
set comments=nb: # rejustify quoted text correctly
set tw=75
On Tue, Dec 25, 2001 at 12:14:19PM +, Thomas Hurst wrote:
* Philip Mak ([EMAIL PROTECTED]) wrote:
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
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
Rob --
...and then Feztaa said...
%
% On Tue, Dec 25, 2001 at 06:33:15AM -0500, Philip Mak (dis)graced my inbox with:
% 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
Philip --
...and then David T-G said...
%
% ...and then Philip Mak said...
% %
% % smartly. Some automatic line wrapping would be nice, too... I'm wondering
Oh, yeah. There're both tw (text width) and wm (wrap margin); both have
their advantages.
% HTH HAND
%
%
% Merry Christmas to all!
You can do anything you want to your docment with shell commands.
eg.
:1,5 !fmt
will close up lines 1 to 5.
or:
!}fmt
will do the same to the next paragraph break (blank line).
info fmt will show you some options.
You could write a very short script to do just want you want and bind it to
a key.
I tinkered around a bit more and came up with this code for making Ctrl+J
(justify paragraph) work, even with quoted text.
It assumes that ^[ ]*$ is the paragraph separator, meaning that any line
which is blank or only contains '' and ' ' separates a paragraph. Here is
the full code for making
19 matches
Mail list logo