Re: [dev] [st] mouse usage, right click to plumb selection

From: Jérôme Andrieux <jerome_AT_jardinmagique.info>
Date: Tue, 12 Sep 2017 20:49:53 +0200

On Tue, Sep 12, 2017 at 8:41 PM, Hiltjo Posthuma <hiltjo_AT_codemadness.org> wrote:
>> Please share what you think about when you say "already possible with
>> minor changes in config.h", I'm interested :)
>>
>
> Just adding a (plumb) hotkey and a plumb script which interacts with the
> clipboard selection. For me it is capslock (bound to F13). The script uses
> sselp and some grep patterns.
>
> Then it works like this: select text using the mouse/keyboard. Then press the
> plumb key.
>
> Ofcourse you can make it as fancy as you want it to be. For me this works well
> enough.

Sure. You can see my "plumb.sh" does that if called without arguments,
using xclip though.

In dwm, it seems possible to bind actions like this to key or mouse
button presses.
In st, we seem to be restricted to key presse only, hence my patch proposal.

Thanks
Received on Tue Sep 12 2017 - 20:49:53 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 12 2017 - 21:00:24 CEST