From 04d79e664ef8dc53f27224f5ec6d9518146f84dd Mon Sep 17 00:00:00 2001 From: LoricAndre Date: Tue, 3 Dec 2024 14:01:29 +0100 Subject: [PATCH] docs: add note about fuzziness of interactive examples (fixes #543) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4d17b12a..436d90b3 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,10 @@ sk --ansi -i -c 'ag --color "{}"' sk --ansi -i -c 'rg --color=always --line-number "{}"' ``` +> **Note**: in these examples, `{}` will be litterally expanded to the current input query. +> This does mean that these examples will search for the exact query string, and not fuzzily. +> To achieve fuzzy search, you need to pipe the command output into `sk`, without interactive mode. + ![interactive mode demo](https://cloud.githubusercontent.com/assets/1527040/21603930/655d859a-d1db-11e6-9fec-c25099d30a12.gif) ## Key Bindings