Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: history-incremental-search-backward and personnal zle widget



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