diff --git a/rc/fzf.kak b/rc/fzf.kak index 70cde2c..899e7bb 100644 --- a/rc/fzf.kak +++ b/rc/fzf.kak @@ -225,7 +225,8 @@ fzf -params .. %{ evaluate-commands %sh{ *) item=${line} ;; esac if [ -n "${item}" ]; then - printf "%s\n" "evaluate-commands -client ${kak_client} ${wincmd} %{${kakoune_cmd} %{${item}}}" + item=$(printf "%s\n" "${item}" | sed "s/@/@@/g") + printf "%s\n" "evaluate-commands -client ${kak_client} ${wincmd} %&${kakoune_cmd} %@${item}@&" break fi done