Fix youtube-sub-extracor breaking RET in insert-mode

This commit is contained in:
MitchMarq42 2022-11-15 15:17:22 -09:00
parent f7a0f38f94
commit c8688a124f

View File

@ -866,14 +866,9 @@ See https://emacs.stackexchange.com/questions/2538/how-to-define-additional-mode
(use-package youtube-sub-extractor (use-package youtube-sub-extractor
:straight (:type git :host github :repo "agzam/youtube-sub-extractor.el") :straight (:type git :host github :repo "agzam/youtube-sub-extractor.el")
:commands (youtube-sub-extractor-extract-subs) :custom (youtube-sub-extractor-timestamps 'left-margin)
:config :commands youtube-sub-extractor-extract-subs)
: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) (provide 'mitch-packages)
;;; mitch-packages.el ends here ;;; mitch-packages.el ends here