Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to make underlining of a command line disappear after an ordinary key press? (2)
- X-seq: zsh-users 14478
- From: Guido van Steen <gvsteen@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: How to make underlining of a command line disappear after an ordinary key press? (2)
- Date: Sun, 11 Oct 2009 03:04:57 -0700 (PDT)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1255255497; bh=r1wIYeqvlMKuh5vngN3+sSae9VsggWWKQsHMGg2Rtlk=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fCUHH3uJ1UhO8POGp10Fw6u2W11FfZ0ZSapzRsIfdgNj5NO4rQlHYJFB+F4Y9g3KPqPNNHsn+4f5rL6Gug6OMjz4duJJVsUL1vMCFu/bJUMTEpm/Oi7WjZ6HWQm12wmwG4W8UlWGyOrnXwh7eZfobBG5yhbpSHo49/eQzPOiVTo=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2fB3jgVqb0CWlXN0t3kRBiqIoaK1D5CvUO2vtV3eYjODmRgPk29wBCMSFbROmRnaBX//oXZPzpexD5xZOh9FKhd/Vh1c94jZKC3w1YobANIhb2ud/vMSauthXxohWScIRaAzL+iC0SkTqogtvLbvXOmn/H61f06noJQsKhbL3Ws=;
- In-reply-to: <487293.58954.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
All right, this seems to work:
"""keys=( {0..9} 'a' 'c' 'd' 'e' 'f' '...' )
for key in $keys; do
bindkey $key ordinary-key-press
done
"""
It does not work for the space bar (" ") though, probably due to zsh' parsing rules.
Does someone have an idea on how effectively rebind the space bar??
Guido
--- On Sun, 11/10/09, Guido van Steen <gvsteen@xxxxxxxxx> wrote:
> From: Guido van Steen <gvsteen@xxxxxxxxx>
> Subject: How to make underlining of a command line disappear after an ordinary key press? (2)
> To: zsh-users@xxxxxxxxxx
> Date: Sunday, 11 October, 2009, 4:22 AM
Get your new Email address!
Grab the Email name you've always wanted before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author