From 1143b5b164248529867e19e9f45d933b0f028259 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Sun, 9 Jun 2019 20:45:14 +0300 Subject: [PATCH] fix #61 --- rc/fzf.kak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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