1 2 3 4 5 6 7 8 9 10 11
function! s:handler(item) abort call sonictemplate#apply(a:item, 'n') endfunction function! fzf#sonictemplate#run() abort call fzf#run( \ fzf#wrap({ \ 'sink*': function('s:handler'), \ 'source': sonictemplate#complete("", "", 0) \})) endfunction