From owner-freebsd-chat Tue Oct 2 20:21:43 2001 Delivered-To: freebsd-chat@freebsd.org Received: from ubermail.mweb.co.za (ubermail.mweb.co.za [196.2.53.169]) by hub.freebsd.org (Postfix) with ESMTP id 0E0B937B401 for ; Tue, 2 Oct 2001 20:21:38 -0700 (PDT) Received: from [196.3.240.235] (helo=siberiyan.dyndns.org) by ubermail.mweb.co.za with esmtp (Exim 3.22 #2) id 15ocUr-0004wG-00; Wed, 03 Oct 2001 05:14:57 +0200 Received: by siberiyan.dyndns.org (Postfix, from userid 1000) id 855133AE; Wed, 3 Oct 2001 05:17:00 +0200 (SAST) Date: Wed, 3 Oct 2001 05:17:00 +0200 From: Piet Delport To: j mckitrick Cc: freebsd-chat@FreeBSD.ORG Subject: Re: code density vs readability Message-ID: <20011003051700.B964@athalon.homenet> Mail-Followup-To: j mckitrick , freebsd-chat@FreeBSD.ORG References: <20011002213051.A28111@lpt.ens.fr> <20011002214655.A1713@dogma.freebsd-uk.eu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <20011002214655.A1713@dogma.freebsd-uk.eu.org> User-Agent: Mutt/1.3.22.1i X-Operating-System: FreeBSD 4.4-STABLE X-Editor: VIM - Vi IMproved 6.0 (http://www.vim.org/) X-Crypto: gpg (GnuPG) 1.0.6 (http://www.gnupg.org/) X-GPG-Key-ID: 0x6B191427 X-GPG-Fingerprint: C7FF A540 2199 F7BF 1933 5640 CD15 0FF3 6B19 1427 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [ Cc's trimmed ] On Tue, 02 Oct 2001 at 21:46:55 +0100, j mckitrick wrote: >>> And I think vim does handle multiple buffers in console mode. I >>> haven't investigated it, when doing "serious" work I'm always >>> running X and I just find it easier to open two xterms... >>=20 >> vim does do multiple buffers. =20 >=20 > How? Does it do split screens? I once spent the better part of an > hour trying to figure this out. That either means poor documentation, > or I didn't have the foggiest where to find it in all of those linked > documentation menus. :h buffers :h split (at least under Vim 6.0, might be somewhere else under Vim 5.8) Mini summary: For multiple buffers, set `hidden', and just ":e" another file. Use ":e" or ":buf" to switch buffers, ":ls" to list them. For split screens, use ^Ws (or ":split", optionally with a filename) to split the current window in two, ^Wn (or ":new") to split off a new window, ^Wf (or ":split ") to split a window on the filename under the cursor, etc. Since Vim 6.0 you can also split windows vertically. About vim's documentation, did you really struggle that hard? Personally, i've found vim's online docs to be the most helpful and complete of any program (commercial or not) i've ever used. *stops before becoming too evangelical* --=20 Piet Delport Today's subliminal thought is: --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) iD8DBQE7uoMszRUP82sZFCcRAjGHAJ4lKMCRlo+195WSVDObffavqxI6xACgpZW/ Bbebw9COso/e9FGje4F5Y38= =k8IQ -----END PGP SIGNATURE----- --gKMricLos+KVdGMg-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message