mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-19 00:53:42 -05:00
Add key-bindings for fzf-ripgrep example
@@ -324,6 +324,8 @@ FZF_DEFAULT_COMMAND="rg --files" fzf \
|
|||||||
--ansi \
|
--ansi \
|
||||||
--phony \
|
--phony \
|
||||||
--reverse \
|
--reverse \
|
||||||
|
--bind "ctrl-a:select-all" \
|
||||||
|
--bind "f12:execute-silent:(subl -b {})" \
|
||||||
--bind "change:reload:$RG_DEFAULT_COMMAND {q} || true" \
|
--bind "change:reload:$RG_DEFAULT_COMMAND {q} || true" \
|
||||||
--preview "rg -i --pretty --context 2 {q} {}" | cut -d":" -f1,2
|
--preview "rg -i --pretty --context 2 {q} {}" | cut -d":" -f1,2
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user