moveFocus to panel using cycle #7194
Labels
Issue-Feature
Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Needs-Tag-Fix
Doesn't match tag requirements
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Description of the new feature/enhancement
Currently terminal only supports moveFocus to up/down/left/right. This feature would allow cycling through panes like going trough tabs with
{ "command": "nextTab", "keys": "ctrl+tab" }
and
{ "command": "prevTab", "keys": "ctrl+shift+tab" }
Proposed technical implementation details (optional)
New panes get assigned increasing IDs.
{ "command": { "action": "moveFocus", "direction": "next" }, "keys": "ctrl+alt+tab" }
focuses the pane with the next ID
{ "command": { "action": "moveFocus", "direction": "prev" }, "keys": "ctrl+alt+shift+tab" }
focuses the pane with the previous ID
IDs could be in order of creation or in order of last used.
paneCycleMode
created
created
orlastUsed
Related to #5803 and #5464
Similar to #4692
Example (pane in focus bold):
Single Pane:
| 1 |
Duplicate pane:
| 1 | | 2 |
Pressing ctrl+alt+tab:
| 1 | | 2 |
Duplicate Pane 1, than pane 2:
| 1 | | 2 |
| 3 | | 4 |
Pressing ctrl+alt+tab would go to pane 1:
| 1 | | 2 |
| 3 | | 4 |
Pressing ctrl+alt+shift+tab would go back to pane 4:
| 1 | | 2 |
| 3 | | 4 |
Pressing ctrl+alt+shift+tab again would go to pane 3:
| 1 | | 2 |
| 3 | | 4 |
The text was updated successfully, but these errors were encountered: