Add 'AnkiDeck' function

This commit is contained in:
2024-10-08 20:34:26 +02:00
parent 7ab22f96bd
commit 7f035753d3

View File

@@ -16,3 +16,8 @@ func! GetContext()
endfunc endfunc
com! -nargs=0 GetContext :call GetContext() com! -nargs=0 GetContext :call GetContext()
function! Put(str)
put = a:str
endfunction
com! -nargs=0 AnkiDeck call fzf#run(fzf#wrap({'source': 'get-anki-decks', 'sink': function('Put')}))