[vox-tech] serendipity with vim
Karsten M. Self
vox-tech@lists.lugod.org
Sun, 4 Apr 2004 15:01:29 -0700
--hQiwHBbRI9kgIhsi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
on Fri, Apr 02, 2004 at 06:16:21AM -0800, Peter Jay Salzman (p@dirac.org) w=
rote:
> heh. at 6:15 in the morning, it blew my mind. it took a few seconds to
> register what was going on.
>=20
> if anybody has any vim tips they'd like to share, i'd love to see a
> thread of people's favorite vim tricks.
>=20
> here's another one i learned just recently:
>=20
>=20
> 1 one
> 2 two
> 3 three
> 4 four
> 5 five
> 6 six
> 7 seven
> 8 eight
> 9 nine
>=20
> use line highlighting (shift v) and highlight lines 4, 5, and 6.
> type "zf".
> you've now "folded" lines 2, 3, 4, 5, and 6:
>=20
> 1 one
> +-- 5 lines: 2----------------------------------------------------
> 7 seven
> 8 eight
> 9 nine
You'll discover split screens RSN I suppose.
Peace.
--=20
Karsten M. Self <kmself@ix.netcom.com> http://kmself.home.netcom.com/
What Part of "Gestalt" don't you understand?
The Amazon "one-click" patent boycott -- yes, it continues:
http://www.fsf.org/philosophy/amazon.html#whyContinue
--hQiwHBbRI9kgIhsi
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAcIW5efG8443k044RAqV2AJ43uptoB5IUhd6kGECy+tZj1ZBfTgCeOqwJ
y6pNBv4U87VRWjzMsn0rc6Q=
=S07W
-----END PGP SIGNATURE-----
--hQiwHBbRI9kgIhsi--