Automate visual mode #20227
-
Is there any way to "automate" the visual mode? I'm talking about using pipes to execute commands like go to, cursor up, down, etc. Something like sending keys from pipes to radar visual mode. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Its easy to do with vte, but if you are not in the mood to create a new terminal emulator you can use tmux that allows to interact with any terminal app from another session by sending keys or dumping the contents of it. |
Beta Was this translation helpful? Give feedback.
-
Perfect, it works. I have changed that on my working copy of r2 and wanted to discuss why this is currently the case? Would it be useful to change it?
Now I can do this:
|
Beta Was this translation helpful? Give feedback.
-
I answer to myself.
https://r2wiki.readthedocs.io/en/latest/options/redirection/#redirection |
Beta Was this translation helpful? Give feedback.
Its easy to do with vte, but if you are not in the mood to create a new terminal emulator you can use tmux that allows to interact with any terminal app from another session by sending keys or dumping the contents of it.