From 2e013315e44b54768ea8ba1e849275fab5356a3b Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Wed, 6 Mar 2019 16:32:18 +0300 Subject: [PATCH] prefix sk grep with fzf --- rc/fzf-modules/sk-grep.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/fzf-modules/sk-grep.kak b/rc/fzf-modules/sk-grep.kak index 39f9984..b6ad557 100644 --- a/rc/fzf-modules/sk-grep.kak +++ b/rc/fzf-modules/sk-grep.kak @@ -17,11 +17,11 @@ str fzf_sk_grep_command 'grep -RHn' evaluate-commands %sh{ if [ -n "$(command -v sk)" ]; then - printf "%s\n" "map global fzf -docstring %{Interactive grep with skim} 'g' ': sk-interactive-grep'" + printf "%s\n" "map global fzf -docstring %{Interactive grep with skim} 'g' ': fzf-sk-interactive-grep'" fi } -define-command -hidden sk-interactive-grep %{ evaluate-commands %sh{ +define-command -hidden fzf-sk-interactive-grep %{ evaluate-commands %sh{ if [ -z "$(command -v sk)" ]; then printf "%s\n" "echo -markup %{{Information}skim required to run this command}" exit