Skip to content

Add support for clicking on arrows in the file list to expand/collapse directories#5365

Open
blakemckeany wants to merge 1 commit intojesseduffield:masterfrom
blakemckeany:mouse-click-on-arrows
Open

Add support for clicking on arrows in the file list to expand/collapse directories#5365
blakemckeany wants to merge 1 commit intojesseduffield:masterfrom
blakemckeany:mouse-click-on-arrows

Conversation

@blakemckeany
Copy link

@blakemckeany blakemckeany commented Mar 12, 2026

PR Description

This PR adds support for clicking on arrows in the file changes list view, so that a mouse can be used to expand/collapse directories. This enhancement was raised here as issue #5088.

This is my first pull request into lazygit so any feedback would be much appreciated! That being said I have tried my best to follow CONTRIBUTING.md and read the relevant docs to ensure all steps are followed.

Please check if the PR fulfills these requirements

  • Cheatsheets are up-to-date (run go generate ./...)
  • Code has been formatted (see here)
  • Tests have been added/updated (see here for the integration test guide)
  • Text is internationalised (see here)
  • If a new UserConfig entry was added, make sure it can be hot-reloaded (see here)
  • Docs have been updated if necessary
  • You've read through your own file changes for silly mistakes etc

Result

files-mouse-use.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant