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

FZFTags to ctags -R

Junegunn Choi
2015-05-26 18:30:31 +09:00
parent 5db4bb68c4
commit 2dc0ad9575

@@ -71,10 +71,10 @@ command! FZFMru call fzf#run({
### Jump to tags ### Jump to tags
```vim ```vim
command! FZFTag if !empty(tagfiles()) | call fzf#run({ command! -bar FZFTags if !empty(tagfiles()) | call fzf#run({
\ 'source': "sed '/^\\!/d;s/\t.*//' " . join(tagfiles()) . ' | uniq', \ 'source': "sed '/^\\!/d;s/\t.*//' " . join(tagfiles()) . ' | uniq',
\ 'sink': 'tag', \ 'sink': 'tag',
\ }) | else | echo 'No tags' | endif \ }) | else | echo 'Preparing tags' | call system('ctags -R') | FZFTag | endif
``` ```
### Search lines in all open vim buffers ### Search lines in all open vim buffers