From abb8ac7911ff8e9f4d361481f46744f927722cf3 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Mon, 24 Sep 2018 13:35:49 +0300 Subject: [PATCH] remove old command, add color 16 to x11 fzf call --- rc/fzf.kak | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rc/fzf.kak b/rc/fzf.kak index 8179bdc..5a38b25 100644 --- a/rc/fzf.kak +++ b/rc/fzf.kak @@ -103,7 +103,7 @@ define-command -hidden fzf -params 2 %{ evaluate-commands %sh{ cmd="$items_command | fzf-tmux -d 15 --color=16 > $tmp" elif [ ! -z "${kak_opt_termcmd}" ]; then path=$(pwd) - cmd="$kak_opt_termcmd \"sh -c 'cd $path && $items_command | fzf > $tmp'\"" + cmd="$kak_opt_termcmd \"sh -c 'cd $path && $items_command | fzf --color=16 > $tmp'\"" else echo "fail termcmd option is not set" fi @@ -131,7 +131,6 @@ define-command -hidden fzf-buffer %{ evaluate-commands %sh{ buffers=$(mktemp $(eval echo $kak_opt_fzf_tmp/kak-buffers.XXXXXX)) items_command="echo $kak_buflist | tr ' ' '\n' | sort" if [ ! -z "${kak_client_env_TMUX}" ]; then - # cmd="$items_command | fzf-tmux -d 15 --color=16 -e --preview='$setbuf {}' --preview-window=up:hidden --expect ctrl-d > $tmp" cmd="$items_command | fzf-tmux -d 15 --color=16 --expect ctrl-d > $tmp" elif [ ! -z "${kak_opt_termcmd}" ]; then path=$(pwd)