.
This commit is contained in:
4
after/plugin/fzf.vim
Normal file
4
after/plugin/fzf.vim
Normal file
@@ -0,0 +1,4 @@
|
||||
" fzf file fuzzy search that respects .gitignore
|
||||
" If in git directory, show only files that are committed, staged, or unstaged
|
||||
" else use regular :Files
|
||||
nnoremap <expr> <C-p> (len(system('git rev-parse')) ? ':Files' : ':GFiles --exclude-standard --others --cached')."\<cr>"
|
||||
Reference in New Issue
Block a user