You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I want to use one neovim instance per Pane or MuxWindow, essentially reusing the started up neovim instance in say pane 1 to open the files when I enter nvim file.txt from pane 2. The way I pictured this to work is to start nvim with the --listen option in one pane and update the NVIM_LISTEN_ADDRESS environment variable for all panes in the Tab/MuxWindow at the same time. Neovim instances launched in other panes would then check for that environment variable and add the --server flag to connect to the specified neovim instance.
I was kinda excited when AI hallucinated a really convenient solution here, which would be to use wezterm-cli to target all panes in the MuxWindow and update environment variables for it. It fabricated something like this:
wezterm cli set-environment-vars --pane-id all "export LISTEN_ADDRESS=some_named_pipe"
But unfortunately there's no set-environment-vars subcommand and neither is there a --pane-id all target. It would be very nice and convenient to have it! Also to target not only panes but Tabs and MuxWindows.
Remark: I'm also interested in other solutions to the issue I'm trying to solve. I think it's probably something that could be solved with events but it sounds cumbersome.
The text was updated successfully, but these errors were encountered:
MartyMcFlyInTheSky
changed the title
wezterm cli update environment vars for all panes in a Tab / MuxWindow
wezterm cli set-environment-vars for all panes in a Tab / MuxWindow
Jan 8, 2025
MartyMcFlyInTheSky
changed the title
wezterm cli set-environment-vars for all panes in a Tab / MuxWindow
new wezterm cli set-environment-vars for all panes in a Tab / MuxWindow
Jan 8, 2025
Is your feature request related to a problem? Please describe.
I want to use one neovim instance per Pane or MuxWindow, essentially reusing the started up neovim instance in say pane 1 to open the files when I enter
nvim file.txt
from pane 2. The way I pictured this to work is to start nvim with the--listen
option in one pane and update theNVIM_LISTEN_ADDRESS
environment variable for all panes in the Tab/MuxWindow at the same time. Neovim instances launched in other panes would then check for that environment variable and add the--server
flag to connect to the specified neovim instance.I was kinda excited when AI hallucinated a really convenient solution here, which would be to use wezterm-cli to target all panes in the MuxWindow and update environment variables for it. It fabricated something like this:
wezterm cli set-environment-vars --pane-id all "export LISTEN_ADDRESS=some_named_pipe"
But unfortunately there's no set-environment-vars subcommand and neither is there a --pane-id all target. It would be very nice and convenient to have it! Also to target not only panes but Tabs and MuxWindows.
Remark: I'm also interested in other solutions to the issue I'm trying to solve. I think it's probably something that could be solved with events but it sounds cumbersome.
The text was updated successfully, but these errors were encountered: