m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-18 08:13:40 -05:00

Added a filter to remove the empty lines when listing buffers

Ian Howell
2019-02-10 00:16:37 -06:00
parent 0ab7cb0628
commit 8000d46d3e

@@ -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%'})
```