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

From: Jérôme Andrieux <>
Date: Tue, 12 Sep 2017 15:26:29 +0200

> I like the idea but it should only be part of the core if enough
> people want it to be which I doubt. Having it as a patch is good
> enough for me.

Everything is good then, patch is online and discussion is starting.

> Are you using the plumber from plan9 from user space or do you use
> something home-grown? Care to share?

Both actually but I have been working on it yesterday.

I use plumb within acme and a set of shell script elsewhere, with a
plumb fallback.
What I really need is a decent editor wrapper and everything could go
through plumber, even if I don't quite like its declarative rules

My main workflow is to send some `path/file:line:col` (those would
hopefully be sam expressions) to vim via `vim --remote` and
I'm trying lately, but boy, habits die hard.

cat bin/

if [[ "x" == "x$pattern" ]]; then
    pattern=`xclip -o`


if [[ -e "$pattern" ]]; then
elif [[ -e "$patternbase" ]]; then

mimetype=`file -b -L --mime-type "$filename"`
case "$mimetype" in
    text\/*) "$pattern"
        zathura "$pattern"
        feh -Z "$pattern"
        rox "$pattern"
        plumb "$pattern"
cat bin/

running=`vim --serverlist | wc -l`
if [[ "$running" -eq 0 ]] ; then
    st vim "$_AT_"
    vim --remote "$_AT_"
Received on Tue Sep 12 2017 - 15:26:29 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 12 2017 - 15:36:20 CEST