Junegunn Choi 2 years ago
parent af6550190b
commit f1a4f048e8
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -103,7 +103,7 @@ _fzf_git_files() {
_fzf_git_fzf -m --ansi --nth 2..,.. \ _fzf_git_fzf -m --ansi --nth 2..,.. \
--prompt '📁 Files> ' \ --prompt '📁 Files> ' \
--bind "ctrl-o:execute-silent:bash $_fzf_git file {-1}" \ --bind "ctrl-o:execute-silent:bash $_fzf_git file {-1}" \
--preview "git diff --color=always -- {-1} | sed 1,4d; $_fzf_git_cat {-1}" | --preview "git diff --no-ext-diff --color=always -- {-1} | sed 1,4d; $_fzf_git_cat {-1}" |
cut -c4- | sed 's/.* -> //' cut -c4- | sed 's/.* -> //'
} }

Loading…
Cancel
Save