Add youtube-sub-extractor. It's okay.

This commit is contained in:
MitchMarq42 2022-11-15 10:50:40 -09:00
parent d4da74cd26
commit f7a0f38f94

View File

@ -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