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