2 ms·
I have an alias for `vim -p $(git grep -li "$1") +"/$1"` that allows me to quickly open files that contain a given string.
by ximm 2y ago
I have an alias for `vim -p $(git grep -li "$1") +"/$1"` that allows me to quickly open files that contain a given string.
- bradly 2y agoI used something similar for a long time, but the past few years I've been using Path Picker. rg string | fpp git status | fpp git diff head~1 | fpp And with Zsh suffixes you can even drop the pipe. https://github.com/facebook/PathPicker https://github.com/facebook/PathPicker