1
0
Fork 0

use whole tree

This commit is contained in:
Andrey Orst 2018-11-24 21:58:23 +03:00
parent 7582dc4820
commit f8fd934e43

View file

@ -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' '<esc>: fzf-git<ret>
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