The plugin is great, it just didn't work for pi for me out of the box.
I did a bit of print debugging and found that the pane_cmds returned for pi in my setup looks like this:
Notice the trailing space.
This diff at lua/sendit/processes.lua:30 solved it for me:
- pi = { patterns = { "[/%s]pi$", "[/%s]pi%s" } },
+ pi = { patterns = { "[/%s]pi$", "[/%s]pi%s", "pi " } },
The plugin is great, it just didn't work for pi for me out of the box.
I did a bit of print debugging and found that the
pane_cmdsreturned forpiin my setup looks like this:Notice the trailing space.
This diff at
lua/sendit/processes.lua:30solved it for me: