jesseduffield / jesseduffield/lazygit

Pressing Enter on Status Page should offer to show Recent Repos or Subdirectory Tree

Open
#3,782 0 comments 0 reactions 0 assignees View on GitHub
enhancement
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.**
I have several repos, all existing under directory `Projects`. When ripgrepping (search and replace) in all of them, I have to specifically open lazygit in each of those. I can use "Recently used" Popup but, it happens a lot that I add new Projects to the directory structure which, lazygit, doesn't know yet.

**Describe the solution you'd like**
When selecting Status and pressing Enter, you should be able to chose, if you would like to open Recent repos or directory structure (which is the default in VSCode)

**Describe alternatives you've considered**
I always switch from terminal to vscode for that matter.

**Additional context**
This has already been discussed in https://github.com/jesseduffield/lazygit/issues/1071, however, lazygit won't show any newly created Projects where lazygit hasn't been opened yet.

**PR**
If @jesseduffield is interested, I can try to create a new PR for the solution?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.