Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to make ESC to cancel current completion
- X-seq: zsh-users 14858
- From: Andrey Borzenkov <arvidjaar@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: How to make ESC to cancel current completion
- Date: Mon, 22 Feb 2010 09:50:56 +0300
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=p0hfTWko2U6x6Unl+hAaEJa7nLrFVY4zs14ub5PSuAE=; b=WyZkhDb3BH1e4phYd5SqAGA0VDbI4CNA7S9buTQ2DTSWPYz10bSf7JZ93/ubO8+MgV XyAGKtg5xotHnWe1G3D1AQ95CDzwfo0T3S5nO3KDfga3vbL23an/1Qu04id3bhPDypum hqos5TNluV546bB8Qo9MvviTM9yBq18QGJZhc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=Pn1CnzX/l0L33o5dgfPaeFIkntQllLHDVdOIB21pkyqySl9ZisjfNY042FGZOvyToA pnwC4KS0sjVKYzZg6llcvu9JCgZA4OCCDZG1pQxLkitJ76xJjwmkJO1wGbUAbYTC36S4 fKv1a++ZKO7SMv0nfd4QQCDgBcve+WZd/1Y/g=
- In-reply-to: <100221153248.ZM24960@xxxxxxxxxxxxxxxxxxxxxx>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <91790a981002211459h70f30599x41fedb93441f7ed6@xxxxxxxxxxxxxx> <100221153248.ZM24960@xxxxxxxxxxxxxxxxxxxxxx>
On Monday 22 of February 2010 02:32:48 Bart Schaefer wrote:
> On Feb 21, 5:59pm, Sébastien Pierre wrote:
> }
> } % ls c/<ESC> # I hit ESC to go back to where I was before
> hitting tab } in the first place
> } % ls # typing ESC undo-ed the last 'c/' completion
> }
> } is there an option to make zsh behave like this ?
>
> Are you using vi style bindings (bindkey -v) or emacs style
> (default)?
>
> In emacs style, it should work to do
>
> bindkey '\e' send-break
>
Hmm ... for me ^G kills the whole input line instead of terminating
completion and leaving me on 'ls '; may be it depends on options ...
OK, ^G would kill active menu-selection; but not standard menu
completion. I do not know if there is simple way to do the latter.
Attachment:
signature.asc
Description: This is a digitally signed message part.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author