Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: emulate bash key bindings
On Fri, 2020-01-10 at 03:46 +0300, Andrey Butirsky wrote:
> On 09.01.2020 17:29, Peter Stephenson wrote:
> >
> > On Thu, 2020-01-09 at 17:18 +0300, Andrey Butirsky wrote:
> > >
> > > On 08.01.2020 13:00, Peter Stephenson wrote:
> > > >
> > > > 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.
> Is it me who intended to add to that context for my widgets, or it can
> be changed implicitly somehow?
The point is there are contributed widgets that test with a context
":zle:name-of-widget:some-other-stuff". I haven't looked to see
if you're likely to encounter them in what you're doing, but it's
easy to be sure you're not going to fall foul of that.
It's possible word-style is never looked up like that --- but it's
a good habit just to be careful.
The point was actually to try *not* to need a long discussion about
behaviour :-).
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author