* a little help about vi or vim
@ 2002-11-15 1:08 r4mz3z
2002-11-16 15:48 ` Paulo Jorge
2002-11-17 9:38 ` Yawar Amin
0 siblings, 2 replies; 6+ messages in thread
From: r4mz3z @ 2002-11-15 1:08 UTC (permalink / raw)
To: linux-newbie
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi friends...
How do I configure my vim-editor to write just 45 characteres (or other
measure) for each line? and How do I justify the text?, because I've see a
lot of txt files that are justify...
thanks.
- --
Linux User Registered #232544
my GnuPG-key at www.keyserver.net
--- rm -rf /bin/laden ---
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE91EkRs4dF9gl05swRAuJWAJ9ybms2rKsIgUHfrkO/D6MZ83bATACfXLBr
YK+gcO4pvaZYgxWLLC5aklM=
=WcDN
-----END PGP SIGNATURE-----
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: a little help about vi or vim
2002-11-15 1:08 a little help about vi or vim r4mz3z
@ 2002-11-16 15:48 ` Paulo Jorge
2002-11-17 9:38 ` Yawar Amin
1 sibling, 0 replies; 6+ messages in thread
From: Paulo Jorge @ 2002-11-16 15:48 UTC (permalink / raw)
To: r4mz3z; +Cc: linux-newbie
[-- Attachment #1: Type: text/plain, Size: 484 bytes --]
On Thu, Nov 14, 2002 at 08:08:27PM -0500, r4mz3z wrote:
> Hi friends...
> How do I configure my vim-editor to write just 45 characteres (or other
> measure) for each line? and How do I justify the text?, because I've see a
> lot of txt files that are justify...
>
> thanks.
To write just 45 chars for each line add the following line to your ~/.vimrc:
set textwidth=45
--
Paulo Jorge Jesus Silva
perl -we "print 'paulojjs' . (reverse 'tp.letagarb@') . \"\n\""
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: a little help about vi or vim
2002-11-15 1:08 a little help about vi or vim r4mz3z
2002-11-16 15:48 ` Paulo Jorge
@ 2002-11-17 9:38 ` Yawar Amin
[not found] ` <200212011359.11350.r4mz3z@yahoo.es>
1 sibling, 1 reply; 6+ messages in thread
From: Yawar Amin @ 2002-11-17 9:38 UTC (permalink / raw)
To: linux-newbie
Alternately to putting the command in your startup file, you may want to set
the "textwidth" option manually for a file. Depends on how often you work
with 45-column text files. If you're editing an existing file and you set
that option, VIM won't automatically rearrange the characters so that there
are only 45 per line. You'll probably want to write a script that will do
that for you.
To justify text, you need to know a little VIM scripting (namely, how to use
functions). There's a VIM script file called "justify.vim" (or something
similar) in the "macros" folder somewhere in the VIM installation. If you
run
that script, it'll set up the "Justify()" function and some useful
user-defined commands like ":Justify" and "_j" that you can use. I've used
this function, and I think it only works if you have the "lbr" option
switched off (I'm talking about VIM 6.0 or above).
Yawar
----- Original Message -----
From: "r4mz3z" <r4mz3z@yahoo.es>
To: <linux-newbie@vger.kernel.org>
Sent: Friday, 15 November, 2002 07:08
Subject: a little help about vi or vim
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi friends...
> How do I configure my vim-editor to write just 45 characteres (or other
> measure) for each line? and How do I justify the text?, because I've see a
> lot of txt files that are justify...
>
> thanks.
>
> - --
> Linux User Registered #232544
> my GnuPG-key at www.keyserver.net
> --- rm -rf /bin/laden ---
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.1 (GNU/Linux)
>
> iD8DBQE91EkRs4dF9gl05swRAuJWAJ9ybms2rKsIgUHfrkO/D6MZ83bATACfXLBr
> YK+gcO4pvaZYgxWLLC5aklM=
> =WcDN
> -----END PGP SIGNATURE-----
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Type II PCMCIA, how can I tell?
@ 2002-12-04 17:03 rob.rice
0 siblings, 0 replies; 6+ messages in thread
From: rob.rice @ 2002-12-04 17:03 UTC (permalink / raw)
To: Chuck Gelm, Linux Newbie
a type one PCMCIA crd is about 3/16" thick a type two is twice that look at the slot for how thick of a card it will accept if it will accept two type one cards it will accept one type two
>
> From: Chuck Gelm <nc8q@gelm.net>
> Date: 2002/12/03 Tue PM 05:51:08 EST
> To: Linux Newbie <linux-newbie@vger.kernel.org>
> Subject: Type II PCMCIA, how can I tell?
>
> How can I tell if my laptop is "Type II PCMCIA" ?
>
> Regards, Chuck
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs
>
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-12-04 17:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-15 1:08 a little help about vi or vim r4mz3z
2002-11-16 15:48 ` Paulo Jorge
2002-11-17 9:38 ` Yawar Amin
[not found] ` <200212011359.11350.r4mz3z@yahoo.es>
2002-12-03 8:18 ` Yawar Amin
2002-12-03 22:51 ` Type II PCMCIA, how can I tell? Chuck Gelm
-- strict thread matches above, loose matches on Subject: below --
2002-12-04 17:03 rob.rice
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox