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
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.
© 2024 OneMinuteCode. All rights reserved.