Remove duplicate example

This commit is contained in:
Junegunn Choi 2018-07-11 13:28:41 +09:00
parent 1d9e7d2a90
commit 8d56bdd6ad
No known key found for this signature in database
GPG key ID: 254BC280FEF9C627

View file

@ -292,13 +292,6 @@ be used as the source.
>
" Replace the default dictionary completion with fzf-based fuzzy completion
inoremap <expr> <c-x><c-k> fzf#vim#complete('cat /usr/share/dict/words')
" Global line completion (ripgrep required)
inoremap <expr> <c-x><c-l> fzf#vim#complete(fzf#wrap({
\ 'prefix': '^.*$',
\ 'source': 'rg -n ^ --color always',
\ 'options': '--ansi --delimiter : --nth 3..',
\ 'reducer': { lines -> join(split(lines[0], ':\zs')[2:], '') }}))
<
For advanced uses, you can pass an options dictionary to the function. The set
of options is pretty much identical to that for `fzf#run` only with the