You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see in the manual you can use --fzf to pass params to fzf.
I can't get this to work.
These are the commands I've been trying to run:
With double quotes
❯ rg smrc --files-with-matches | sad 'smrc' 'smc' --fzf "--bind ctrl-a:select-all"
error: unexpected argument '--bind ctrl-a:select-all' found
tip: to pass '--bind ctrl-a:select-all' as a value, use '-- --bind ctrl-a:select-all'
Usage: sad <PATTERN|REPLACE|--read0|--commit|--exact|--flags <FLAGS>|--pager <PAGER>|--fzf <FZF>|--unified <UNIFIED>>
For more information, try '--help'.
❯ rg smrc --files-with-matches | sad 'smrc' 'smc' --fzf --bind=ctrl-a:select-all
error: unexpected argument '--bind' found
tip: to pass '--bind' as a value, use '-- --bind'
Usage: sad <PATTERN|REPLACE|--read0|--commit|--exact|--flags <FLAGS>|--pager <PAGER>|--fzf <FZF>|--unified <UNIFIED>>
For more information, try '--help'.
Any ideas what's going on?
Looks like it should work reading the source code. Something that has me worrying about bind specifically is the function you run around the --bind args in the code though.
Hi,
I see in the manual you can use
--fzf
to pass params to fzf.I can't get this to work.
These are the commands I've been trying to run:
With double quotes
No dashes before
bind
No double quotes
Any ideas what's going on?
Looks like it should work reading the source code. Something that has me worrying about bind specifically is the function you run around the
--bind
args in the code though.sad/src/fzf.rs
Line 142 in a0dc8b3
Thanks!
The text was updated successfully, but these errors were encountered: