doom: + subed
parent
6abefd1c8a
commit
177ce5457c
|
@ -66,6 +66,16 @@
|
||||||
;; :config
|
;; :config
|
||||||
;; (add-hook 'redacted-mode-hook (lambda () (read-only-mode (if redacted-mode 1 -1)))))
|
;; (add-hook 'redacted-mode-hook (lambda () (read-only-mode (if redacted-mode 1 -1)))))
|
||||||
|
|
||||||
|
(use-package! subed
|
||||||
|
:config
|
||||||
|
;; This assures evil does not conflict with subed keybinds.
|
||||||
|
;; https://github.com/haditim/.doom.d
|
||||||
|
(map! :map (subed-mode subed-srt-mode-map)
|
||||||
|
:n "M-p" #'subed-backward-subtitle-text
|
||||||
|
:n "M-n" #'subed-forward-subtitle-text
|
||||||
|
:leader
|
||||||
|
:desc "MPV play/pause" "<RET>" #'subed-mpv-toggle-pause))
|
||||||
|
|
||||||
(defun open-in-pympress ()
|
(defun open-in-pympress ()
|
||||||
"Open the current buffer (assumed to be a tex file that has the same name as
|
"Open the current buffer (assumed to be a tex file that has the same name as
|
||||||
the compiled PDF version) in pympress."
|
the compiled PDF version) in pympress."
|
||||||
|
|
|
@ -56,6 +56,9 @@
|
||||||
(package! speed-type :pin "304cb8cd6c30d07577d7d864fd32858a29a73dba")
|
(package! speed-type :pin "304cb8cd6c30d07577d7d864fd32858a29a73dba")
|
||||||
(package! pinentry)
|
(package! pinentry)
|
||||||
(package! redacted)
|
(package! redacted)
|
||||||
|
(package! subed
|
||||||
|
:recipe (:host github :repo "sachac/subed"
|
||||||
|
:files ("subed/*.el")))
|
||||||
(package! ess-view)
|
(package! ess-view)
|
||||||
(package! ess-view-data)
|
(package! ess-view-data)
|
||||||
(package! pandoc-mode)
|
(package! pandoc-mode)
|
||||||
|
|
Loading…
Reference in New Issue