zellij-org/zellij

Feature: Allow MoveFocus to wrap

Open

#2071 aperta il 8 gen 2023

Vedi su GitHub
 (2 commenti) (2 reazioni) (0 assegnatari)Rust (1191 fork)batch import
good first issuehelp wanted

Metriche repository

Star
 (32.593 star)
Metriche merge PR
 (Merge medio 42g 11h) (10 PR mergiate in 30 g)

Descrizione

For example, if I am in this pane: image

Wrapping would allow me to `MoveFocus "right" and still go to the pane on the left: image

This is particularly useful in situations where there might be a high amount of panes such as this: image Now moving from pane#5 to pane#1 is as simple as moving the focus right.


This could be implemented in a number of ways, some possible options:

  • global config option (enable wrapping globally or not)
  • giving MoveFocus another parameterslike wrap
  • having a completely different action MoveFocusWrapped (this is probably overkill)

Guida contributor