Okay, now that you've located the file "justify.vim," the rest should be
easy. Just open the file you want to justify, run the script by entering
":so /usr/share/vim/vim61/macros/justify.vim" in VIM, and then you have
several choices for running the actual justify command. To justify a single
line, the command you should use is ":[line]Justify" where [line] is the
line number of the line you want to justify. To justify the line you're on
currently, just leave out [line]. To justify the entire file, press "_j."
There are other options as well, which are well documented within the
"justify.vim" file itself. Just open that file in VIM (using the ":e"
command) and you'll see what I mean.

Yawar


----- Original Message -----
From: "r4mz3z" <[EMAIL PROTECTED]>
To: "Yawar Amin" <[EMAIL PROTECTED]>
Sent: Monday, 02 December, 2002 00:59
Subject: Re: a little help about vi or vim


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi...
  your help have been so useful for me... I can set textwidth in any value
depend of the document in which i'm working.
  But I can execute the macro justify, please help me with one little
sample... I located this macro at: "/usr/share/vim/vim61/macros/justify.vim"
  I hope don't hurt you, so very thanks.

[Pepo]

iD8DBQE96lv+s4dF9gl05swRAopaAJ40xEggop2QJfSbM3lYdFqrmiCRoACfcK2R
aDUPKRqAM5JLTeZ8sb9jTH8=
=Uujz
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to