From f4d059ff785e326c927206ae6276fd173a098df2 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Wed, 21 Nov 2018 15:53:00 +0300 Subject: [PATCH] move sorting thing to module to simplify internal fzf command --- rc/fzf-modules/fzf-ctags.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/fzf-modules/fzf-ctags.kak b/rc/fzf-modules/fzf-ctags.kak index 3ed3636..025831d 100644 --- a/rc/fzf-modules/fzf-ctags.kak +++ b/rc/fzf-modules/fzf-ctags.kak @@ -1234,5 +1234,5 @@ Additional filters for $kak_opt_filetype filetype: $additional_message" [ ! -z "${kak_client_env_TMUX}" ] && additional_flags="--expect ctrl-v --expect ctrl-s" echo "set-option window ctagsfiles %{$path/${kak_opt_tagfile:-tags}}" - echo "fzf %{ctags-search \$1} %{$cmd} %{--expect ctrl-w $additional_flags $additional_keybindings}" + echo "fzf %{ctags-search \$1} %{$cmd | awk '!a[\$0]++'} %{--expect ctrl-w $additional_flags $additional_keybindings}" }}