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

Re: Problem with motion commands defined using match-word-by-style used with vi-delete



On Apr 23, 10:57am, Nikolai Weibull wrote:
} Subject: Re: Problem with motion commands defined using match-word-by-styl
}
} > In the short term, I think it'd work to reset $WIDGET yourself:
} >
} >     local WIDGET=$motion_command
} >     zle $motion_command -n $count
} 
} WIDGET is, sadly, a read-only variable.

Declaring it "local" should circumvent that.  You might need "local -h",
now that I think of it.

} I fear my time would be
} better spent implementing .recursive-edit-read-one-key.

There must be a better name for it than that.  GNU emacs appears to call
it read-key-sequence.



Messages sorted by: Reverse Date, Date, Thread, Author