diff --git a/rc/fzf.kak b/rc/fzf.kak index 1408abb..7bff9df 100644 --- a/rc/fzf.kak +++ b/rc/fzf.kak @@ -145,6 +145,7 @@ fzf -params .. %{ evaluate-commands %sh{ [ "${kak_opt_fzf_use_main_selection}" = "true" ] && \ [ $(printf "%s" "${kak_selection}" | wc -m) -gt 1 ] && \ + [ $(printf "%s" "${kak_selection}" | wc -l) -eq 1 ] && \ default_query="-i -q ${kak_selection}" while [ $# -gt 0 ]; do