On Mon, Jun 12, 2000 at 11:01:31AM -0700, Sudhakar Chandra wrote:
> Arun Sharma proclaimed:
> > $ cat ~/.exrc
> > :map _f !}fmt -p '> '
>
> The following vim macro simulates pico's CTRL-J to reformat a paragraph:
>
>From my (FreeBSD) vi(1):
STANDARDS
Nex/nvi is close to IEEE Std1003.2 (``POSIX''). That doc-
ument differs from historical ex/vi practice in several
places; there are changes to be made on both sides.
The macro works on a freshly installed Solaris box too and consistent
with the UNIX philosophy :)
I know, POSIX is lame in that it didn't define colors in vi. So I use
vim extensions, when I need that functionality. But when the standard
can do something, I try to use it.
-Arun
-----------------------------------------------------------------------
LIH is all for free speech. But it was created for a purpose - to help
people discuss issues about installing and running Linux. If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.