Migrate pandoc 'AnkiDeck' function to neovim

This commit is contained in:
2025-05-15 17:08:35 +02:00
parent 5b08b04332
commit 22e23ba416
2 changed files with 15 additions and 6 deletions

View File

@@ -17,9 +17,3 @@ func! GetContext()
endif
endfunc
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')}))