Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: history-incremental-search-backward and personnal zle widget
- X-seq: zsh-users 12378
- From: antho.charles@xxxxxxxxx
- To: zsh-users@xxxxxxxxxx
- Subject: Re: history-incremental-search-backward and personnal zle widget
- Date: Sat, 29 Dec 2007 23:09:57 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:from; bh=9+583Tnpepw4AmgckFqHlX36VSSkuO7XXwEeFHzJxC8=; b=AO/paL2YvjqLql9ok4FvRMkA1rrL8LCvazbHrYZedyANVG6cYjscRBxkwMuQyGRq4wqzGd+veOleIjOKeT4KUYD6syTKax/wDZVEarOIHqZVgCzI/gSatwFAoEpUi8Cb7c8qcjTLw8ixq3cQYwzuMEoIkWyZHqbAeKL45rTpUlg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent:from; b=s+ddrSk4WnI8gNVj2YGIeK5z5Zqh2HwiQm9tVz3AisPJ2aWgsmmA0ZruZMg3Evv9hW0CxixZGHzb8kgpQEhFhxtbtsxTXv8SvbOA/jvprZvCJ7BJ4VHvJ3LDIhzZY0XV1M59HWivPmMs1/H5dt0PP/F0bwxGRZ1FyLpeHl98u+4=
- In-reply-to: <071229115616.ZM7726@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20071229012451.GC5256@xxxxxxxxxxxxxxxxxxxxx> <237967ef0712282235t77a64976p4d59fc4e992bc424@xxxxxxxxxxxxxx> <47767B29.6050607@xxxxxxxxxxxxx> <071229115616.ZM7726@xxxxxxxxxxxxxxxxxxxxxx>
Thank you guys for your answers.
On Sat, Dec 29, 2007 at 11:56:16AM -0800, Bart Schaefer wrote:
> magic-space-rationalise-dot() {
> case "$KEYS" in
> (" ") zle .magic-space "$@" ;;
> ( . ) [[ $LBUFFER = *.. ]] && LBUFFER+=/. ;&
> ( * ) zle .self-insert "$@" ;;
> esac
> }
> zle -N magic-space magic-space-rationalise-dot
> bindkey "." magic-space
>
> Note that binding space to magic-space still works as it did before.
This function works but not with history-incremental-search-backward,
it inserts a space like it use .magic-space instead of my new
function.
My zsh is 4.3.4.
--
Anthony CHARLES
Attachment:
signature.asc
Description: Digital signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author