Created
November 1, 2010 16:32
-
-
Save mkelley33/658465 to your computer and use it in GitHub Desktop.
A one-two combo for searching in files, and then going to match at a supplied line-number.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep . -RHn --include="tests.py" -e "MyTestCase" | |
mvim some_django_app/tests.py +1329 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
*I did this on MacVim using the Terminal.app, but probably works on Linux with GVim
*This may not be news to some of the veterans here :)
I used this command to
grep
inside a file, and then go to theline number(s) where the match(es) occurred.