On Fri, 17 Mar 2006 21:36:42 +0300
"Dmitry E. Oboukhov" <[EMAIL PROTECTED]> wrote:

> как ограничить ширину текста я нашел,б а как сделать чтобы он выравнивал
> текст  по ширине? чтобы получился аналог align="justify" ?

В доке у них:

JUSTIFYING TEXT

Vim has no built-in way of justifying text.  However, there is a neat macro
package that does the job.  To use this package, execute the following
command: >

        :runtime macros/justify.vim

This Vim script file defines a new visual command "_j". To justify a block of
text, highlight the text in Visual mode and then execute "_j".
   Look in the file for more explanations.  To go there, do "gf" on this name:
$VIMRUNTIME/macros/justify.vim.

An alternative is to filter the text through an external program.  Example: >

        :%!fmt


Только что-то у меня по написанному не вышло, а в emacs это дело
нормально работает.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Ответить