Directory tree layout for files in status view
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 5.6k
- Forks
- 357
- Avg merge
- 15h 47m
- Merged PRs (30d)
- 2
Description
Hey,
Is there any appetite for an option to structure the file lists in the status buffer in a tree view?
e.g. this is how LazyGit does it:
We could either keep the current foldable hunk diffs and/or leverage the peek diff view from the log where the diff updates as you scroll the file list
I was thinking about putting together a PR to this effect. Is that something the maintainers would be open to?
Thanks
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing status buffer and its foldable hunk diffs, then compare the log's peek diff view with the LazyGit tree layout referenced in the issue. Define whether the feature preserves foldable hunks or uses an updating peek view, and consider the work complete when the status file list has a documented tree presentation with the chosen diff behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, lua, neovim
- Domain
- cli, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100