commit: Make abbreviation optional

From: Frank Terbeck <ft_at_repos.grml.org>
Date: Fri, 30 May 2008 19:05:05 +0200 (CEST)

Changeset available online at:

http://hg.grml.org/grml-etc-core/rev/f344eeb49c9fe60b5597133dd360b98d3877b0fd

changeset: 398:f344eeb49c9fe60b5597133dd360b98d3877b0fd
tag: tip
user: Frank Terbeck <ft_at_grml.org>
date: Fri May 30 14:59:34 2008 +0200
files: debian/changelog etc/zsh/zshrc
description:
Make abbreviation optional

The ',.' global abbreviation replacement feature is meant.

It is still on by default, but can be disabled by default by setting
$NOABBREVIATION to something greater than zero in .zshenv; or temporarily by
hitting '^xA', which switches it off (another '^xA' will reenable it - that
way, we can still get it back on, if disabled by $NOABBREVIATION).

Note: Turning off abbreviation effectively disables the feature. The binding
      to ',.' still remains, though. Therefore, entering a comma (,) will
      still take a few moments (because zsh is waiting for a possible ',.').
      If you cannot be bothered to wait that long, quickly hit CTRL-V before
      hitting the comma key.
      I briefly looked for a better binding for the feature; but most (all?)
      of the easy-to-remember ones (like ALT-a, ALT-, or ALT-.) where already
      taken. Others didn't produce a useful character sequence on my keyboard
      (like CTRL-, or CTRL.); and I don't want '^xA' for it, because that
      takes four(!) key presses.
      If someone has a better solution, please say so!
Received on Fri 30 May 2008 - 17:05:12 UTC

This archive was generated by hypermail 2.2.0 : Fri 30 May 2008 - 17:15:09 UTC