From 2c07630341de7e4d8f85acf1e44d9b8ce8e5e48b Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 3 May 2020 17:36:28 +0900 Subject: [PATCH] Better completion example --- README.md | 4 ++-- doc/fzf-vim.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0f72fcf..cb69a5d 100644 --- a/README.md +++ b/README.md @@ -316,8 +316,8 @@ Completion functions ```vim " Path completion with custom source command -inoremap fzf#vim#complete#path('fd') -inoremap fzf#vim#complete#path('rg --files') +inoremap fzf#vim#complete#path('fd') +inoremap fzf#vim#complete#path('rg --files') " Word completion with custom spec with popup layout option inoremap fzf#vim#complete#word({'window': { 'width': 0.2, 'height': 0.9, 'xoffset': 1 }}) diff --git a/doc/fzf-vim.txt b/doc/fzf-vim.txt index 8334edb..2591fc6 100644 --- a/doc/fzf-vim.txt +++ b/doc/fzf-vim.txt @@ -378,8 +378,8 @@ COMPLETION FUNCTIONS *fzf-vim-completion-functions* -----------------------------------------+-------------------------------------- > " Path completion with custom source command - inoremap fzf#vim#complete#path('fd') - inoremap fzf#vim#complete#path('rg --files') + inoremap fzf#vim#complete#path('fd') + inoremap fzf#vim#complete#path('rg --files') " Word completion with custom spec with popup layout option inoremap fzf#vim#complete#word({'window': { 'width': 0.2, 'height': 0.9, 'xoffset': 1 }})