Closed chrisgrieser closed 1 year ago
Yes, I've been meaning to add this for a while, but I haven't had much time to work on the plugin lately.
You can't add -[SG]
to default_args
. The default_args
entries only accepts the same options as their respective commands. See :h :DiffviewOpen
and :h :DiffviewFileHistory
for the overview of the available options.
thanks so much 🥳
As far as I can tell, the
:DiffviewFileHistory
allows to dynamically search for an author name or the content of a commit message, but not for changes i.e., git pickaxe (git docs forgit log -[SG]
)Going through the docs, the only way to use the
-G
and-S
options seems to be thedefault_args
orlog_options
config, which would define those statically, instead of being able to dynamically search for a string.