diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2d49e2b..b0390d1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -23,7 +23,7 @@ fzf-mode key bindings. User should not remember all possible commands. # after fzf returns its result # Second argument is a command to the fzf itself, which will be used # to provide list for fzf to show. - fzf "echo $1" "echo 'this␤is␤an␤example'" + fzf "echo $1" "echo 'this is an example' | tr ' ' '\n'" } map global fzf -docstring "fzf example command" e ': fzf-good-example' @@ -33,7 +33,7 @@ map global fzf -docstring "fzf example command" e ': fzf-good-example' Bad code: ```kak # example -def fzf-good-exmpl %{ fzf "echo $1" "echo 'actually I'm bad example'" } +def fzf-good-exmpl %{ fzf "echo $1" "echo 'actually I''m bad example' | tr ' ' '\n'" } ``` Although such code is short, it is not *safe*, because reloading kakrc will cause an error here.