diff options
Diffstat (limited to 'subed-conf.el')
-rw-r--r-- | subed-conf.el | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/subed-conf.el b/subed-conf.el index f9404ad..0a33253 100644 --- a/subed-conf.el +++ b/subed-conf.el @@ -25,13 +25,15 @@ ;;; Code: +;;; Load package + (use-package "subed/subed" 'subed) ;;; Use a shorter name for the socket (setq subed-mpv-socket-dir "/tmp/") -;; Make some modifications so that mpv works +;;; Make some modifications so that mpv works (defun durand-subed-mpv--socket () "Path to mpv's RPC socket for a particular buffer. @@ -51,5 +53,17 @@ See also `subed-mpv-socket-dir'." (advice-add #'subed-mpv--socket :override #'durand-subed-mpv--socket) +;;; Normal brackets are easier to hit for me + +(define-key subed-mode-map (vector 3 ?\() + #'subed-copy-player-pos-to-start-time) + +(define-key subed-mode-map (vector 3 ?\)) + #'subed-copy-player-pos-to-stop-time) + +;;; Disable pausing when typing + +(subed-disable-pause-while-typing t) + (provide 'subed-conf) ;;; subed-conf.el ends here |