Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for pane swapping in Key Assignment and Lua API. #4990

Closed
wants to merge 1 commit into from

Conversation

bogdan2412
Copy link
Contributor

Adds a couple of variants:

  • SwapActivePaneDirection / tab:swap_active_pane_direction analogous to ActivatePaneDirection.
  • SwapActivePaneByIndex / tab:swap_active_pane_by_index analogous to ActivatePaneByIndex.

Adds a couple of variants:
- SwapActivePaneDirection / tab:swap_active_pane_direction
  analogous to ActivatePaneDirection.
- SwapActivePaneByIndex / tab:swap_active_pane_by_index
  analogous to ActivatePaneByIndex.
@bogdan2412
Copy link
Contributor Author

This PR doesn't add a CLI command, though happy to push that through separately assuming folks are happy with this PR.

@bogdan2412
Copy link
Contributor Author

I ended up looking at an issue with swapping not working with ClientDomains in #5009 and the work there will affect what this patch should look like, so for now you can skip over the code, though happy to hear thoughts on direction.

@bogdan2412 bogdan2412 closed this May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant