Skip to content

Commit

Permalink
Remove duplicate example
Browse files Browse the repository at this point in the history
  • Loading branch information
junegunn committed Jul 11, 2018
1 parent 1d9e7d2 commit 8d56bdd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions doc/fzf-vim.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d56bdd

Please sign in to comment.