Bỏ qua đến nội dung

Scroll in reviewer with vi/vim-like keys j and k

Chờ xử lý #anki #addon #scroll #reviewer #with #vivim #like
https://github.com/yar-fed/anki-jkscroll
4/9/2021

Cách tải addon Scroll in reviewer with vi/vim-like keys j and k

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

981580052

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 981580052 và copy

6

Mô tả chi tiết

Scroll in reviewer with vi/vim keys j and k

Rational

If you type in your cards and the backside of cards in the deck is huge then you often find yourself reaching for page up/page down/arrow keys to scroll down. Since I am a vim user it was really frustrating not having jk to scroll considering they are not even mapped to anything by default. This usecase might be rare, but it was so refreshing finally not having to move hands to just scroll for every card.

Configuration

You can configure the amount of scroll in a config. Also notice that there are additional mappings for J and K (shift+j, shift+k), so that you can use them as page up/page down, though there was no way to do an actual page-vise scrolling, because qtwebengine does not support that javascript function, but within a few minutes of tweaking you should be able to find the right value.

Supported Anki versions

I have not tested this on earlier versions, but I think this should work just fine even before 2.1.35. Tell me if it is broken on earlier versions and I will look into it


Liên kết hỗ trợ


Reviews (5)

👍 2024-07-07

I fixed and customized this add-on for Anki24+ and uploaded it to AnkiWeb. 🖱️Scroll in reviewer with vi/vim-like keys j and k (Fixed by Shige) https://ankiweb.net/shared/info/1241205467

👍 2023-11-07

Works like a charm! As you look like an experienced Python developer, could you please give me the path to make this in a auto scroll tool? For me it would be really useful if, somehow, it can scroll automatically from time to time because I have a lot of cards with TTS enabled and I really learn more when the machine reads the content to me. Thank you for sharing with us this amazing tool!

👍 2023-02-17

Very useful !

👍 2022-01-12

very useful, vim anywhere

👍 2022-01-11

It works fine and saved me a lot of trouble. Thank you!