mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-08 11:23:47 -05:00
Enhance click-header event
* Expose the name of the mouse action as $FZF_KEY * Trigger click-header on mouse up * Enhanced clickable header for `kill` completion
This commit is contained in:
@@ -529,7 +529,10 @@ TRANSFORMER='
|
||||
# Otherwise, if the query does not end with a space,
|
||||
# restart ripgrep and reload the list
|
||||
elif ! [[ $FZF_QUERY =~ \ $ ]]; then
|
||||
echo "reload:sleep 0.1; $RG_PREFIX \"${words[0]}\" || true"
|
||||
pat=${words[0]}
|
||||
echo "reload:sleep 0.1; $RG_PREFIX \"$pat\" || true"
|
||||
else
|
||||
echo search:
|
||||
fi
|
||||
'
|
||||
fzf --ansi --disabled --query "$INITIAL_QUERY" \
|
||||
|
||||
Reference in New Issue
Block a user