mpv2oboeru

mpv helpers to create flashcards from movies and TV shows
git clone anongit@rnpnr.xyz:mpv2oboeru.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 03827b23264a5a2b5f9f1f2f059f175290916356
Parent: 8be1a6ba23e07740d3119c90ef464b6a29bb544c
Author: Ren Tatsumoto
Date:   Sun, 14 Nov 2021 10:53:59 +0300

change default mnemonic from "export" to "new"

Diffstat:
MREADME.md | 4++--
Msubs2srs.lua | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md @@ -229,7 +229,7 @@ Default bindings: ``` a script-binding mpvacious-menu-open -Ctrl+e script-binding mpvacious-export-note +Ctrl+n script-binding mpvacious-export-note Ctrl+m script-binding mpvacious-update-last-note Ctrl+M script-binding mpvacious-overwrite-last-note @@ -260,7 +260,7 @@ Menu: * `a` - Open `advanced menu`. Make a card: -* `Ctrl+e` - Export a card with the currently visible subtitle line on the front. +* `Ctrl+n` - Export a card with the currently visible subtitle line on the front. Use this when your subs are well-timed, and the target sentence doesn't span multiple subs. diff --git a/subs2srs.lua b/subs2srs.lua @@ -1529,7 +1529,7 @@ local main = (function() ensure_deck() -- Key bindings - mp.add_forced_key_binding("Ctrl+e", "mpvacious-export-note", export_to_anki) + mp.add_forced_key_binding("Ctrl+n", "mpvacious-export-note", export_to_anki) mp.add_forced_key_binding("Ctrl+c", "mpvacious-copy-sub-to-clipboard", copy_sub_to_clipboard) mp.add_key_binding("Ctrl+t", "mpvacious-autocopy-toggle", clip_autocopy.toggle)