On Mon, Jun 07, 2010 at 08:26:04PM +0200, Polytropon wrote:
> On Sun, 6 Jun 2010 22:06:07 -0600, Chad Perrin <per...@apotheon.com> wrote:
> 
> > I've never really tried using vi-mode editing in any shell, despite the
> > fact I'm a constant vi user (even a vi gangsta, one might say).  Maybe I
> > should some day.  Thus far, though, I don't even know if tcsh supports
> > vi-mode editing.
> 
> According to "man csh", it is possible:
> 
>    The command-line editor (+)
>        Command-line  input  can  be edited using key sequences much like those
>        used in GNU Emacs or vi(1).  The editor is active only  when  the  edit
>        shell  variable  is  set, which it is by default in interactive shells.
>        The bindkey builtin can display and change key  bindings.   Emacs-style
>        key  bindings are used by default (unless the shell was compiled other-
>        wise; see the version shell variable), but bindkey can change  the  key
>        bindings to vi-style bindings en masse.

Excellent!  I don't have to wait until I get off my tuckus to look it up
now.  Thank for feeding my laziness.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]

Attachment: pgpauXkkCPZLM.pgp
Description: PGP signature

Reply via email to