Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] optional flags with magit-like menu? #125

Open
starenka opened this issue Nov 6, 2022 · 0 comments
Open

[Feature Request] optional flags with magit-like menu? #125

starenka opened this issue Nov 6, 2022 · 0 comments

Comments

@starenka
Copy link

starenka commented Nov 6, 2022

it would be nice to be able to set some session flags via magit-like "menu / transient buffer " while inputing the search term, wouldn't it?

magit

i know i can modify the flags doing something like this:

(defun sta:deadgrep--include-args (rg-args)
  (push "--multiline" rg-args))
(use-package rg
  (advice-add 'deadgrep--arguments :filter-return #'sta:deadgrep--include-args))

but it is not so flexible as args set adhoc....

@starenka starenka changed the title optional flags with magit-like menu? [Feature Request] optional flags with magit-like menu? Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant