Replies: 5 comments 5 replies
-
I'd suggest piping your multiple lines through |
Beta Was this translation helpful? Give feedback.
-
If it's not too much trouble, can you give me an example? I do not know how to do this. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, there is no "-e" option in echo command on Windows. I tried googling, but I didn't find a quick answer. I will try to search for information further. |
Beta Was this translation helpful? Give feedback.
-
I was looking for a way to send commands to a shell on Terminal 2
$ echo -e "echo \"Hi there...\"\n" | wz cli send-text --no-paste Terminal instance 1
$
$ echo "Hi there..."
Hi there...
$ I love this because it gives me back the X.11
This example only lets one send stuff via |
Beta Was this translation helpful? Give feedback.
-
For a very long time, I have looked for a way to send (inject) commands to a shell on Terminal 2
$ echo -e "echo \"Hi there...\"\n" | wz cli send-text --no-paste Terminal instance 1
$
$ echo "Hi there..."
Hi there...
$ I love this because it gives me back the X.11
Even this simple send via I am moved to comment that it would be a great boon to have something like |
Beta Was this translation helpful? Give feedback.
-
What Operating System(s) are you running on?
Windows
Which Wayland compositor or X11 Window manager(s) are you using?
No response
WezTerm version
20231107-082518-f0e3eecb
Ask your question!
I want to send code from neovim to IPython opened in second pane.
I cant send several lines using
wezterm cli send-text
I want to try to do it this way:
create wezterm hotkey for this:
I tried to create a hotkey using
wezterm.action_callback
but it didn't work out.Could you help me with creating a hotkey?
Or suggest how else you can solve this problem?
Are there any other ways to transfer data between neovim and wezterm besides the clipboard?
Beta Was this translation helpful? Give feedback.
All reactions