mhinz / mhinz/vim-grepper

Integration with fugitive for git-grep

Open
#241 0 comments 0 reactions 0 assignees View on GitHub

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.