Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add number shortcut to output of git grep #123

Open
dlee opened this issue Dec 13, 2013 · 0 comments
Open

Add number shortcut to output of git grep #123

dlee opened this issue Dec 13, 2013 · 0 comments

Comments

@dlee
Copy link
Contributor

dlee commented Dec 13, 2013

often I search for a line using git grep and want to go directly to the file and line:

> git grep blah
files/a.txt:4: blah
files/a.txt:23: blah
templates/a.j2:2: blah
templates/b.j2:48: blah

I wish each of those lines were prefexed with a shortcut number so that I if I did:

> vim $e1

it would take me to

vim files/a.txt:4
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

No branches or pull requests

1 participant