summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2022-01-14 21:03:59 -0600
committerCase Duckworth2022-01-14 21:03:59 -0600
commit6f20710673580a9583af7f4004fb8013880a58f1 (patch)
treedf81850700d55f4529cf72386228c371e995e5a9 /init.el
parentCh ch ch changes (diff)
parentDavid Bowie (diff)
downloademacs-6f20710673580a9583af7f4004fb8013880a58f1.tar.gz
emacs-6f20710673580a9583af7f4004fb8013880a58f1.zip
Turn and face the strange
Diffstat (limited to 'init.el')
-rw-r--r--init.el12
1 files changed, 7 insertions, 5 deletions
diff --git a/init.el b/init.el index 134b81a..c78f482 100644 --- a/init.el +++ b/init.el
@@ -179,11 +179,11 @@
179 (cond ((executable-find "mpv") #'+browse-image-with-mpv) 179 (cond ((executable-find "mpv") #'+browse-image-with-mpv)
180 (t #'eww-browse-url)) 180 (t #'eww-browse-url))
181 args))) 181 args)))
182 (cons (rx 182 (cons (rx (or ;; videos
183 (or "youtube.com" "youtu.be" "yewtu.be" 183 "youtube.com" "youtu.be" "yewtu.be" "invidious"
184 ;; videos
185 (seq "." (or "mp4" "gif" "mov" "MOV" "webm") eos) 184 (seq "." (or "mp4" "gif" "mov" "MOV" "webm") eos)
186 ;; music 185 ;; music
186 "soundcloud.com" "bandcamp.com"
187 (seq "." (or "ogg" "mp3") eos))) 187 (seq "." (or "ogg" "mp3") eos)))
188 (lambda (&rest args) 188 (lambda (&rest args)
189 (apply (if (executable-find "mpv") 189 (apply (if (executable-find "mpv")
@@ -459,6 +459,8 @@
459 org-outline-path-complete-in-steps nil 459 org-outline-path-complete-in-steps nil
460 org-pretty-entities t 460 org-pretty-entities t
461 org-pretty-entities-include-sub-superscripts nil 461 org-pretty-entities-include-sub-superscripts nil
462 org-refile-targets '((nil . (:maxlevel . 2))
463 (org-agenda-files . (:maxlevel . 1)))
462 org-refile-use-outline-path 'file 464 org-refile-use-outline-path 'file
463 org-special-ctrl-a/e t 465 org-special-ctrl-a/e t
464 org-special-ctrl-k t 466 org-special-ctrl-k t
@@ -556,7 +558,7 @@
556 org-export-with-sub-superscripts t 558 org-export-with-sub-superscripts t
557 org-export-with-toc nil) 559 org-export-with-toc nil)
558 (with-eval-after-load 'user-save 560 (with-eval-after-load 'user-save
559 (add-hook 'org-export-before-processing-hook #'user-save-buffer))) 561 (advice-add 'org-export-dispatch :before 'user-save-run-hooks)))
560 562
561(setup prog 563(setup prog
562 (:local-set comment-auto-fill-only-comments t) 564 (:local-set comment-auto-fill-only-comments t)
@@ -996,7 +998,7 @@ See also `crux-reopen-as-root-mode'."
996 elfeed-show-unique-buffers t 998 elfeed-show-unique-buffers t
997 elfeed-db-directory (elfeed/ "db/" t)) 999 elfeed-db-directory (elfeed/ "db/" t))
998 (:+key "C-x w" #'elfeed) 1000 (:+key "C-x w" #'elfeed)
999 (advice-add #'elfeed-search-fetch :after #'beginning of buffer) 1001 (advice-add #'elfeed-search-fetch :after #'beginning-of-buffer)
1000 (:with-mode elfeed-search-mode 1002 (:with-mode elfeed-search-mode
1001 (:bind "&" #'+elfeed-search-browse-generic) 1003 (:bind "&" #'+elfeed-search-browse-generic)
1002 (:hook #'hl-line-mode) 1004 (:hook #'hl-line-mode)