diff --git a/Examples-(vim).md b/Examples-(vim).md index 3e42727..14bf492 100644 --- a/Examples-(vim).md +++ b/Examples-(vim).md @@ -71,10 +71,10 @@ command! FZFMru call fzf#run({ ### Jump to tags ```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', \ 'sink': 'tag', -\ }) | else | echo 'No tags' | endif +\ }) | else | echo 'Preparing tags' | call system('ctags -R') | FZFTag | endif ``` ### Search lines in all open vim buffers