jesseduffield / jesseduffield/lazygit
feature: add option to cycle top<->bottom of lists of items (e.g. Files view)
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
**Is your feature request related to a problem? Please describe.**
Large change sets can be painful to navigate in menus like `[2]Files` list, or `[3]Branches>branchname>commithash>Diff files`, or the `[5]Stash>stashid>Diff files` set of explorers. Especially if you have an odd tendency to add files in the middle of this list, and need to bounce around the top and bottom of the lists.. ;-)
**Describe the solution you'd like**
Allow an option, default true, to cycle/wrap at the top of the list to the bottom, and vice versa. I'm using vi & arrow keys to navigate the lists, it'd be great if I hit down when on the bottom it would go to the very first item, if the option were enabled. Etc.
**Describe alternatives you've considered**
We could possibly use a custom command to jump the top or bottom, but it wouldn't enable the default natural behavior of moving "up" when at the top of a list, bringing cursor to bottom, and vice versa.
**Additional context**
n/a
------
Thanks!
Contributor guide
Assessment
This issue has not been assessed yet.