Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 2009 00:36:18 -0600
From:      Chad Perrin <perrin@apotheon.com>
To:        Steve Bertrand <steve@ibctech.ca>
Cc:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: A question for developers
Message-ID:  <20090725063618.GA37761@kokopelli.hydra>
In-Reply-To: <4A6A72A6.1030009@ibctech.ca>
References:  <4A6A72A6.1030009@ibctech.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jul 24, 2009 at 10:49:10PM -0400, Steve Bertrand wrote:
> Forgive the verbosity.
>=20
> Before anything else, I'd appreciate it if my requirements were actually
> read before providing any feedback. I know that there are qualified
> persons here to legitimately answer my question, so if a flame war does
> ensue, I ask that you refrain from responding.

[snip]

What you describe as your requirements sounds exactly like vi, or some
variant of it -- the most popular of which is Vim.  FreeBSD comes with
nvi by default, though, and if you find you don't care about Vim's
additional features, you may want to use that instead.  Note that nvi
doesn't support syntax highlighting though, last I checked.

I know some people might read your list of requirements and claim that
emacs is as good a fit as vi, but beg to differ for at least two specific
reasons:

1. You mentioned wanting to be able to move around easily with a single
keystroke.  The keystroke count for various operations tends to be
slightly greater in emacs than in vi.

2. You mentioned wanting to stay close to home row.  The truth is that vi
and emacs are almost precisely on par here, for the most part, but I
think that the key chording requirements of common emacs operation does
cause the fingers to stray from home row on a QWERTY keyboard a bit more
than vi's tendency to stick to single-key commands a lot more.

It's just my good luck that I happen to prefer vi/Vim over emacs myself,
while your requirements also seem to favor vi/Vim.

I wrote an introduction to productive use of Vim a while back in my
personal Weblog.  It is most emphatically *not* a tutorial -- it doesn't
tell you what commands you need to know to use it or give you tips and
tricks for getting specific things done, really.  What it does is discuss
in very general terms useful approaches to doing things like starting
Vim, saving and exiting while using it, taking advantage of the vi modal
editing paradigm, and learning more about it over time.  It's sort of a
lesson in learning how to use Vim, rather than a direct lesson in how to
use it, if that makes any sense.

Without further ado, here it is:

    http://sob.apotheon.org/?p=3D981

I hope that helps.

--=20
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth Larry Wall: "It's more important to be a good driver than to have
seven feet of sponge rubber all around your car."

--wac7ysb48OaltWcw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

iEYEARECAAYFAkpqp+IACgkQ9mn/Pj01uKUFaQCgsigZFmjO53ug9QPhyYuBWQzy
E4kAoNNNWOjUc2idjFuisll7aDa2WGPL
=FuAW
-----END PGP SIGNATURE-----

--wac7ysb48OaltWcw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090725063618.GA37761>