vim-slime icon indicating copy to clipboard operation
vim-slime copied to clipboard

send to multiple panes

Open pinggit opened this issue 1 year ago • 2 comments

is it possible to send to multiple panes? for example send to 2 panes below ( {down-of} ) the vim pane?

pinggit avatar Jul 29 '23 12:07 pinggit

Hi @pinggit

Possible? Yes. — Convenient? Not so much.

You could create a new keyboard mapping to (probably) a function that:

  • sends to vim-slime
  • re-configures to a 2nd target
  • sends to vim-slime
  • re-configures (back) to the 1st target

That assumes you manage your own configurations (another variable, or, in the general case, a list) outside of vim-slime

If you come up with something, let me know

jpalardy avatar Jul 29 '23 13:07 jpalardy

thanks Jonathan. I'll think about it.

On Sat, Jul 29, 2023 at 9:23 PM Jonathan Palardy @.***> wrote:

Hi @pinggit https://github.com/pinggit

Possible? Yes. — Convenient? Not so much.

You could create a new keyboard mapping to (probably) a function that:

  • sends to vim-slime
  • re-configures to a 2nd target
  • sends to vim-slime
  • re-configures (back) to the 1st target

That assumes you manage your own configurations (another variable, or, in the general case, a list) outside of vim-slime

If you come up with something, let me know

— Reply to this email directly, view it on GitHub https://github.com/jpalardy/vim-slime/issues/388#issuecomment-1656729526, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPRSHAN36OLXDZV4LDKV6TXSUFDNANCNFSM6AAAAAA24PJQNE . You are receiving this because you were mentioned.Message ID: @.***>

pinggit avatar Jul 30 '23 14:07 pinggit