Add 'AnkiDeck' function
parent
93a76e7940
commit
06c90adb7c
|
@ -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')}))
|
||||||
|
|
Loading…
Reference in New Issue