dajva / rg.el

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

Question: how to show hidden options in `rg-menu` #121

Closed Aaronzinhoo closed 3 years ago

Aaronzinhoo commented 3 years ago

I know this might be a simple question, but I wanted to make the replace option show up in the transient map. I know the number next to the option is a priority level of some sort since I changed it to 3 and it popped up. I tried reading source code and could not find a variable to dictate whats shown. Any help is appreciated!

dajva commented 3 years ago

It's all documented in the transient docs. https://magit.vc/manual/transient/Enabling-and-Disabling-Suffixes.html#Enabling-and-Disabling-Suffixes Essentially C-x l and then press the key(s) that trigger the option and select the level you want.

Aaronzinhoo commented 3 years ago

Thanks for that. I use magit but never realized transient's ability to update its menu! Thanks for the help!