feat(op): top-level switch-layout action #62
Labels
No labels
breaking-change
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
skip-release-notes
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/tmux-mosaic#62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There should be one mosaic-level action for switching the current window to a named layout, instead of making every keybinding spell out raw tmux option writes and a manual relayout.
Why
Right now changing layouts from keybindings requires spelling out both:
set-option -wq @mosaic-algorithm <layout>run '#{E:@mosaic-exec} relayout'That leaks implementation details into tmux config and makes layout switching harder to standardize.
Scope
#{E:@mosaic-exec} switch-layout <name>@mosaic-algorithmAcceptance criteria
@mosaic-algorithmwindow-locally