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

Re: emulate bash key bindings



On Thu, 2020-01-09 at 17:18 +0300, Andrey Butirsky wrote:
> On 08.01.2020 13:00, Peter Stephenson wrote:
> > 
> > # Create widget backward-kill-space-word, using the generic
> > # backward-kill-word widget function.
> > zle -N backward-kill-space-word backward-kill-word-match
> > # Tell it to use "space" style for words.
> > zstyle ':zle:backward-kill-space-word:*' word-style space
> Is the asterisk here '...:*' needed for something?

Safety.  Contexts get added to with more specific information.
Some examples are given later in the zshcontrib manual.  Even
if you never use them, this will still work.

pws



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