m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-19 00:53:42 -05:00

don't block vim while listing tags

atn34
2014-10-19 02:09:30 -07:00
parent 3e460d25b7
commit cca80ae6aa

@@ -304,14 +304,15 @@ Jump to tags
---
```vimL
function! TagList()
return map(taglist('.*'), 'v:val["name"]')
function! TagCommand()
return substitute('awk _!/^!/ { print \$1 }_ ', '_', "'", 'g')
\ . join(tagfiles(), ' ')
endfunction
command! FZFTag call fzf#run({
\ 'source' : TagList(),
\ 'source' : TagCommand(),
\ 'sink' : 'tag',
\ })
\ })<CR>
```
Fuzzy cmdline completion