wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
17.28k stars 781 forks source link

Expose a CLI command to switch the active pane in a given direction #2525

Closed abusch closed 2 years ago

abusch commented 2 years ago

Is your feature request related to a problem? Please describe. I would like to be able to switch the active pane via the command line. Being able to do so would help me replicate the behaviour I have with tmux and neovim using plugins such as https://github.com/sunaku/tmux-navigate.

Describe the solution you'd like I'd imagine something like wezterm cli activate-pane-direction --right

Describe alternatives you've considered n/a

Additional context There's been discussions about giving users a way to define their own cli commands (see #2251 ), but no clear decision came out of this. In the meantime, implementing an ad-hoc command seems the simplest solution for this particular use case.

github-actions[bot] commented 1 year ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.