change lf fzf accept binding
This commit is contained in:
parent
2899c2c523
commit
c6d5db5150
|
@ -137,14 +137,13 @@ cmd fzf ${{
|
||||||
|
|
||||||
clear
|
clear
|
||||||
file="$(eval "$input" | fzf \
|
file="$(eval "$input" | fzf \
|
||||||
--expect=' ' \
|
|
||||||
--query "$query" \
|
--query "$query" \
|
||||||
--delimiter "$delimiter" \
|
--delimiter "$delimiter" \
|
||||||
--cycle \
|
--cycle \
|
||||||
--nth="$field" \
|
--nth="$field" \
|
||||||
--with-nth="$field" \
|
--with-nth="$field" \
|
||||||
--preview-window="right,$width" \
|
--preview-window="right,$width" \
|
||||||
--bind="focus:transform-preview-label(echo {} | cut -d '$delimiter' -f '$path_field')" \
|
--bind="space:accept,focus:transform-preview-label(echo {} | cut -d '$delimiter' -f '$path_field')" \
|
||||||
--scheme='history' \
|
--scheme='history' \
|
||||||
--history="$histfile" \
|
--history="$histfile" \
|
||||||
--header="$name" \
|
--header="$name" \
|
||||||
|
|
Loading…
Reference in New Issue