cosmicexplorer / helm-rg

ripgrep is nice
GNU General Public License v3.0
101 stars 21 forks source link

Add basic support for helm-resume #14

Closed tohammer closed 5 years ago

tohammer commented 5 years ago

Save current directory on every helm-rg invocation. Use adviced function around helm-resume to set helm-rg--current-dir to make all actions based on this variable work.

Probably not the most elegant solution but it makes basic resume use-cases work and shoudl solve #11.

mgsloan commented 5 years ago

I came across this PR because this problem has been annoying me quite a bit lately. I can verify that it works! Good stuff

tohammer commented 5 years ago

Hi, i ran the test and can confirm that it fails without this pr and work when it is rebased on top. Thanks for merging it, it makes this great tool even more useful.

cosmicexplorer commented 5 years ago

I invoke helm-rg probably a hundred times per day but I have become more used to just running it again instead of using helm-resume -- contributions like this help my own workflow too. Thanks again for the contribution!