I want tmux to pour the selection into the command.

Asked 2 years ago, Updated 2 years ago, 48 views

You can select a range in emacs or vi mode with tmux, but I wanted to pour the selection into the standard input while executing a new command on the server where tmux is running.

I would like to do something equivalent to what emacs call a send-region.

Is this possible?

tmux

2022-09-30 20:13

1 Answers

It's about how to use tmux (or GNU Screen) normally.
copy-mode saves the selection in a buffer with M-w (emacs) or Enter (vi).
paste-buffer (ctrl-b) or choose-buffer (ctrl-b=) pour the buffer contents into the current pane.


2022-09-30 20:13

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.