mirror of
https://github.com/junegunn/fzf.vim.git
synced 2025-12-06 12:44:24 +08:00
Better completion example
This commit is contained in:
@@ -378,8 +378,8 @@ COMPLETION FUNCTIONS *fzf-vim-completion-functions*
|
||||
-----------------------------------------+--------------------------------------
|
||||
>
|
||||
" Path completion with custom source command
|
||||
inoremap <expr> <c-x><c-j> fzf#vim#complete#path('fd')
|
||||
inoremap <expr> <c-x><c-j> fzf#vim#complete#path('rg --files')
|
||||
inoremap <expr> <c-x><c-f> fzf#vim#complete#path('fd')
|
||||
inoremap <expr> <c-x><c-f> fzf#vim#complete#path('rg --files')
|
||||
|
||||
" Word completion with custom spec with popup layout option
|
||||
inoremap <expr> <c-x><c-k> fzf#vim#complete#word({'window': { 'width': 0.2, 'height': 0.9, 'xoffset': 1 }})
|
||||
|
||||
Reference in New Issue
Block a user