zellij-org/zellij

Feature: Allow MoveFocus to wrap

开放

#2,071 创建于 2023年1月8日

 (2 条评论) (2 个反应) (0 位负责人)Rust (1,191 个派生)batch import
good first issuehelp wanted

仓库指标

星标
 (32,593 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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)

贡献者指南