cosmicexplorer / helm-rg

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

Add support for saving buffer #16

Open Eeemil opened 5 years ago

Eeemil commented 5 years ago

It would be neat if it was possible to save the buffer with C-x C-s so that it is easy to go back to the results navigate between a lot of matches

ckruse commented 4 years ago

This is already possible with the bounce mode (helm-rg--bounce), by default bound to M-b.

cosmicexplorer commented 4 years ago

I believe helm-rg--bounce solves part of the problem, but one thing I haven't implemented yet is making it work so you can jump to the original source text from the bounce buffer! bounce mode does have all the correct information in text properties though, so it likely would not be incredibly difficult to let RET jump to the original text! Will look into implementing that now.