From f8fd934e431d48dcc37210fcdb16bf762a12d805 Mon Sep 17 00:00:00 2001 From: Andrey Orst Date: Sat, 24 Nov 2018 21:58:23 +0300 Subject: [PATCH] use whole tree --- rc/fzf-modules/VCS/fzf-git.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/fzf-modules/VCS/fzf-git.kak b/rc/fzf-modules/VCS/fzf-git.kak index 58215c3..102dd34 100644 --- a/rc/fzf-modules/VCS/fzf-git.kak +++ b/rc/fzf-modules/VCS/fzf-git.kak @@ -13,7 +13,7 @@ Supported tools: Git : ""git"" Default arguments: - ""git ls-tree --name-only -r HEAD"" + ""git ls-tree --full-tree --name-only -r HEAD"" " \ str fzf_git_command "git" @@ -22,7 +22,7 @@ map global fzf-vcs -docstring "edit file from Git tree" 'g' ': fzf-git define-command -hidden fzf-git %{ evaluate-commands %sh{ case $kak_opt_fzf_git_command in git) - cmd="git ls-tree --name-only -r HEAD" ;; + cmd="git ls-tree --full-tree --name-only -r HEAD" ;; git*) cmd=$kak_opt_fzf_git_command ;; esac