Update anki cloze commands

master
Hektor Misplon 2022-09-24 12:31:16 +02:00
parent 632d135ccd
commit 09a84cae23
1 changed files with 1 additions and 1 deletions

View File

@ -18,5 +18,5 @@
" In this sentence this word was closed. " In this sentence this word was closed.
" ``` " ```
au FileType pandoc com! -range AnkiRemoveAllClozes :%s/{{c\d\+:://ge | :%s/}}//ge | :%s/START\nCloze\n//ge | :%s/END\n//ge au FileType pandoc com! -range AnkiRemoveAllClozes :%s/\%V{{c\d\+:://ge | :%s/\%V}}//ge | :%s/\%VSTART\nCloze\n//ge | :%s/\%VEND\n//ge
au FileType pandoc com! -range AnkiRemoveSelectedClozes :%s/\%V{{c\d\+:://ge | :%s/\%V}}//ge | :%s/\%VSTART\nCloze\n//ge | :%s/\%VEND\n//ge au FileType pandoc com! -range AnkiRemoveSelectedClozes :%s/\%V{{c\d\+:://ge | :%s/\%V}}//ge | :%s/\%VSTART\nCloze\n//ge | :%s/\%VEND\n//ge