From 3e460d25b79c7a0a555c53b51349baea3db7f6e3 Mon Sep 17 00:00:00 2001 From: atn34 Date: Sat, 18 Oct 2014 19:18:32 -0700 Subject: [PATCH] add jump to tags example --- Examples.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Examples.md b/Examples.md index 39c8e0d..e704704 100644 --- a/Examples.md +++ b/Examples.md @@ -300,6 +300,20 @@ command! FZFMru call fzf#run({ \}) ``` +Jump to tags +--- + +```vimL +function! TagList() + return map(taglist('.*'), 'v:val["name"]') +endfunction + +command! FZFTag call fzf#run({ +\ 'source' : TagList(), +\ 'sink' : 'tag', +\ }) +``` + Fuzzy cmdline completion ---