[feature] show hidden file with fzf
This commit is contained in:
parent
54726273f1
commit
8d7743b7b8
|
@ -236,6 +236,7 @@ nnoremap <leader>gsc :exec "!git switch -c " . input("Enter new branch name:")<C
|
|||
" ==== fzf configuration ====
|
||||
" enable <C-p> for fzf
|
||||
let g:fugitive_no_maps=1
|
||||
let $FZF_DEFAULT_COMMAND = 'ag --hidden --ignore .git -l -g ""'
|
||||
|
||||
nnoremap <C-p> :call fzf#vim#files(trim(system("git rev-parse --show-toplevel \|\| pwd")))<Cr>
|
||||
nnoremap <leader>gco :call fzf#run({'source': 'git branch \| cut -c 3-; git tag -l', 'sink': '!git checkout'})<CR>
|
||||
|
|
Loading…
Reference in New Issue
Block a user