NeogitOrg / NeogitOrg/neogit

Directory tree layout for files in status view

Open
#1,695 1 comment 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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:

Image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.