Add 'AnkiDeck' function
This commit is contained in:
@@ -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')}))
|
||||||
|
|||||||
Reference in New Issue
Block a user