From f7a0f38f944a507bb0dd14a8efe2771f0fe17127 Mon Sep 17 00:00:00 2001 From: MitchMarq42 Date: Tue, 15 Nov 2022 10:50:40 -0900 Subject: [PATCH] Add youtube-sub-extractor. It's okay. --- lisp/mitch-packages.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lisp/mitch-packages.el b/lisp/mitch-packages.el index e45b8dd..c25030a 100644 --- a/lisp/mitch-packages.el +++ b/lisp/mitch-packages.el @@ -863,5 +863,17 @@ See https://emacs.stackexchange.com/questions/2538/how-to-define-additional-mode :straight (:files (:defaults "dwim-shell-commands.el")) :config (require 'dwim-shell-commands) :commands dwim-shell-commands-kill-process) + +(use-package youtube-sub-extractor + :straight (:type git :host github :repo "agzam/youtube-sub-extractor.el") + :commands (youtube-sub-extractor-extract-subs) + :config + :general + (general-define-key + :keymap 'youtube-sub-extractor-subtitles-mode-map + "RET" 'youtube-sub-extractor-copy-ts-link + "C-c C-o" 'youtube-sub-extractor-browse-ts-link)) + + (setq youtube-sub-extractor-timestamps 'left-margin) (provide 'mitch-packages) ;;; mitch-packages.el ends here