dajva / rg.el

Emacs search tool based on ripgrep
https://rgel.readthedocs.io
GNU General Public License v3.0
465 stars 38 forks source link

Expose search history more prominently #158

Open doublep opened 1 year ago

doublep commented 1 year ago

I think it would be a nice feature to expose search history. Current standard shortcuts C-c < and C-c > are very awkward to type, especially repeatedly. I'd suggest to use P/N or [/]. This I of course could just do locally, but I also have a more complicated idea: list historic search, in a similar way you list "saved" searches. You could bind this to h (redefining the current binding) or to H, for example.

dajva commented 10 months ago

For key bindings, I recommend going via the menu as hinted here: https://rgel.readthedocs.io/en/latest/usage.html#history-navigation The history feature has its limitations, I know. I like the idea of listing searches, or at least have a searchable history that is usable. I don't really have plans to add new features currently though, but priorities may change. :)