Integration with fugitive for git-grep
Open
Nobody has claimed this yet.
feature request
- Dominant language
- Vim Script
- Stars
- 1.2k
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
When using git-grep with another branch etc, the results look like `master:path/to/file|…`.
It would be great if going to them would open them via fugitive, as `:Gedit master:path/to/file` would do.
(it is quite simple / ok to call `:Gedit %` after going to result (which is an empty buffer then), but would be nice to have better integration by default).
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 tracing how git-grep results are opened and how fugitive handles branch:path targets. Done means selecting a result such as master:path/to/file opens it through fugitive rather than an empty buffer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100