diff --git a/cli/vim/init.vim b/cli/vim/init.vim index ccfb8de..63a0112 100644 --- a/cli/vim/init.vim +++ b/cli/vim/init.vim @@ -236,6 +236,7 @@ nnoremap gsc :exec "!git switch -c " . input("Enter new branch name:") for fzf let g:fugitive_no_maps=1 +let $FZF_DEFAULT_COMMAND = 'ag --hidden --ignore .git -l -g ""' nnoremap :call fzf#vim#files(trim(system("git rev-parse --show-toplevel \|\| pwd"))) nnoremap gco :call fzf#run({'source': 'git branch \| cut -c 3-; git tag -l', 'sink': '!git checkout'})