This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // INSTRUCTIONS | |
| // 1) Ensure Anki is open + AnkiConnect is installed, and your origin (e.g. https://www.wanikani.com) is whitelisted. | |
| // 2) (Optional) Set an ignore list in localStorage: | |
| // localStorage.setItem('WK_IGNORE_LIST', JSON.stringify(['工事', '猫'])); | |
| // 3) Open WaniKani Advanced Lesson Picker, paste this in the console. | |
| (async () => { | |
| const ANKI_URL = 'http://127.0.0.1:8765'; | |
| const FIELD_NAME = 'Expression'; | |
| const IGNORE_LS_KEY = 'WK_IGNORE_LIST'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| map <c-d> scrollPageDown | |
| map <c-u> scrollPageUp | |
| map <c-h> previousTab | |
| map <c-l> nextTab |