diff --git a/Examples-(vim).md b/Examples-(vim).md index 9438baf..3bc0649 100644 --- a/Examples-(vim).md +++ b/Examples-(vim).md @@ -51,7 +51,7 @@ array as the source. In the following example, we use the names of the open buffers as the source. ```vim -call fzf#run({'source': map(range(1, bufnr('$')), 'bufname(v:val)'), +call fzf#run({'source': map(filter(range(1, bufnr('$')), 'buflisted(v:val)'), 'bufname(v:val)'), \ 'sink': 'e', 'down': '30%'}) ```