zellij-org/zellij

Feature: Allow MoveFocus to wrap

Open

#2,071 opened on Jan 8, 2023

View on GitHub
 (2 comments) (2 reactions) (0 assignees)Rust (1,191 forks)batch import
good first issuehelp wanted

Repository metrics

Stars
 (32,593 stars)
PR merge metrics
 (Avg merge 42d 11h) (10 merged PRs in 30d)

Description

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)

Contributor guide