dajva / rg.el

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

`rg-dwim` with two arguments from `rg-menu` #92

Closed gusbrs closed 4 years ago

gusbrs commented 4 years ago

rg-dwim can receive two universal-arguments to call rg-dwim-current-file. While this works when calling rg-dwim directly, it doesn't when calling it from rg-menu (with "d"). Indeed, when typing "C-u C-u" at the rg-menu this message is echoed in the minibuffer:

Unbound suffix: C-u (Use C-g to abort, ? for help) [universal-argument-more]

So that we are not able to use rg-dwim from rg-menu with two arguments.

dajva commented 4 years ago

This is available in the menu under level 4 under key c for current dir and f for current file. The "DWIM" label is missing in the menu so I should add it. If you can't see these commands, please have a look at https://magit.vc/manual/transient/Enabling-and-Disabling-Suffixes.html#Enabling-and-Disabling-Suffixes to find out how you can change the level.

gusbrs commented 4 years ago

Oh, man, it was screaming at my face! Sorry for the noise. And thank you for making things even clearer for those with a thick skull.

dajva commented 4 years ago

No problem. it was kind of hidden. Should be better now.