[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple commands in binding



On Sat, Sep 29, 2012 at 03:27:15AM +0200, Thorsten Wißmann wrote:
> On Sat, Sep 22, 2012 at 01:54:42PM +0200, Thorsten Wißmann wrote:
> > On Thu, Sep 20, 2012 at 01:54:51PM +0200, Thorsten Wißmann wrote:
> > > === Specify a command seperator dynamically ===
> > > Similar to sed's s/search/replace/ where once can freely choose the
> > > separator, we could add a chaimcmd that takes a seperator word first
> > > followed by the two commands:
> > > 
> > >     chaincmd , cmd1 arg1a arg1b , cmd2 arg2a     # would be equal to
> > >     chaincmd .-. cmd1 arg1a arg1b .-. cmd2 arg2a # or
> > >     chaincmd ab cmd1 arg1a arg1b ab cmd2 arg2a
> > > 
> > Yesterday implemented this as the commands "chain", "and" and "or". You
> > can find them temporarily in the chain branch[1].
> > 
> > The current usage is:
> > 
> >     [chain|or|and] SEP COMMANDS...
> Currently it's only in the chain branch[1] and it will be merged to
> master in the next days.

I just merged it to master. Have fun!

Regards,
Thorsten