Skip to content

feat: fuzzy-find git roots and bind set-cwd - #23

Merged
vasiltop merged 3 commits into
mainfrom
feat/git-root-finder
Jul 21, 2026
Merged

feat: fuzzy-find git roots and bind set-cwd#23
vasiltop merged 3 commits into
mainfrom
feat/git-root-finder

Conversation

@vasiltop

Copy link
Copy Markdown
Owner

Summary

  • Add :find-git / <leader>pp fuzzy picker for git repository roots under the working directory; <CR> runs set-cwd on the selection
  • Bind :set-cwd to <leader>sc by default
  • Document both in search/keybindings docs and config/config.example.toml

Test plan

  • <leader>pp opens [git-roots] and filters as you type
  • <CR> on a root updates cwd (status line shows cwd: …)
  • <leader>sc sets cwd from the current file’s directory
  • :find-git works from the command window
  • ./build/editor_tests search_walk_git and find_git pass

Made with Cursor

vasiltop added 3 commits July 20, 2026 21:17
Add :find-git / <leader>pp to pick repository roots under cwd and
set-cwd on select, plus a default <leader>sc binding for set-cwd.
After set-cwd, <CR> in the find-git picker also opens that directory
in the file explorer.
A projects folder that is itself a git repository was recorded as "."
and never descended into, hiding every child project. Keep walking
after a hit so nested repos show up in the picker.
@vasiltop
vasiltop merged commit 1c57f09 into main Jul 21, 2026
3 checks passed
@vasiltop
vasiltop deleted the feat/git-root-finder branch July 21, 2026 01:28
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