mirror of
https://github.com/junegunn/fzf.vim.git
synced 2026-01-09 04:52:30 +08:00
Make fzf#vim#complete#path take command as the first argument
inoremap <expr> <c-x><c-g> fzf#vim#complete#path('git ls-files $(git rev-parse --show-toplevel)')
This commit is contained in:
@@ -63,9 +63,9 @@ function! fzf#complete(...)
|
||||
endfunction
|
||||
|
||||
inoremap <expr> <plug>(fzf-complete-word) fzf#vim#complete#word()
|
||||
inoremap <expr> <plug>(fzf-complete-path) fzf#vim#complete#path()
|
||||
inoremap <expr> <plug>(fzf-complete-file) fzf#vim#complete#file()
|
||||
inoremap <expr> <plug>(fzf-complete-file-ag) fzf#vim#complete#file_ag()
|
||||
inoremap <expr> <plug>(fzf-complete-path) fzf#vim#complete#path("find . -path '*/\.*' -prune -o -print \| sed '1d;s:^..::'")
|
||||
inoremap <expr> <plug>(fzf-complete-file) fzf#vim#complete#path("find . -path '*/\.*' -prune -o -type f -print -o -type l -print \| sed '1d;s:^..::'")
|
||||
inoremap <expr> <plug>(fzf-complete-file-ag) fzf#vim#complete#path("ag -l -g ''")
|
||||
inoremap <expr> <plug>(fzf-complete-line) fzf#vim#complete#line()
|
||||
inoremap <expr> <plug>(fzf-complete-buffer-line) fzf#vim#complete#buffer_line()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user