summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el22
1 files changed, 12 insertions, 10 deletions
diff --git a/init.el b/init.el index e03e28f..0011380 100644 --- a/init.el +++ b/init.el
@@ -490,14 +490,14 @@
490 "|" "DONE(d!)") 490 "|" "DONE(d!)")
491 (sequence "|" "CANCELED(k!)") 491 (sequence "|" "CANCELED(k!)")
492 (sequence "MEETING(m)"))) 492 (sequence "MEETING(m)")))
493 (setf (alist-get "\\.x?html?\\'" org-file-apps nil nil #'equal)
494 #'+org-open-html)
495 (:bind "RET" #'+org-return-dwim 493 (:bind "RET" #'+org-return-dwim
496 "<S-return>" #'+org-table-copy-down 494 "<S-return>" #'+org-table-copy-down
497 "C-c C-l" #'+org-insert-link-dwim 495 "C-c C-l" #'+org-insert-link-dwim
498 "C-c C-n" #'+org-next-heading-widen 496 "C-c C-n" #'+org-next-heading-widen
499 "C-c C-p" #'+org-previous-heading-widen 497 "C-c C-p" #'+org-previous-heading-widen
500 "C-c C-o" #'+org-open-at-point-dwim) 498 "C-c C-o" #'+org-open-at-point-dwim
499 "`" #'+org-insert-tilde
500 "~" #'+org-insert-backtick)
501 (:local-hook user-save-hook #'+org-before-save@prettify-buffer) 501 (:local-hook user-save-hook #'+org-before-save@prettify-buffer)
502 (advice-add #'org-delete-backward-char :override #'+org-delete-backward-char) 502 (advice-add #'org-delete-backward-char :override #'+org-delete-backward-char)
503 ;; (define-advice org-open-at-point (:around (fn &rest r) open-external) 503 ;; (define-advice org-open-at-point (:around (fn &rest r) open-external)
@@ -506,7 +506,9 @@
506 ;; (apply fn r))) 506 ;; (apply fn r)))
507 (with-eval-after-load 'org 507 (with-eval-after-load 'org
508 (org-clock-persistence-insinuate) 508 (org-clock-persistence-insinuate)
509 (org-link-set-parameters "tel" :follow #'+org-tel-open)) 509 (org-link-set-parameters "tel" :follow #'+org-tel-open)
510 (setf (alist-get "\\.x?html?\\'" org-file-apps nil nil #'equal)
511 #'+org-open-html))
510 ;; Extra keywords 512 ;; Extra keywords
511 (font-lock-add-keywords 513 (font-lock-add-keywords
512 'org-mode 514 'org-mode
@@ -514,12 +516,12 @@
514 ("^ *\\([-]\\) " 516 ("^ *\\([-]\\) "
515 (0 (compose-region (match-beginning 1) (match-end 1) "•"))) 517 (0 (compose-region (match-beginning 1) (match-end 1) "•")))
516 ("^ *\\([+]\\) " 518 ("^ *\\([+]\\) "
517 (0 (compose-region (match-beginning 1) (match-end 1) "◦")))) 519 (0 (compose-region (match-beginning 1) (match-end 1) "◦")))))
518 (with-eval-after-load 'form-feed 520 (with-eval-after-load 'form-feed
519 ;; Horizontal lines 521 ;; Horizontal lines
520 (font-lock-add-keywords 522 (font-lock-add-keywords
521 'org-mode 523 'org-mode
522 '(("^-----+" 0 'form-feed--font-lock-face t)))))) 524 '(("^-----+" . form-feed--font-lock-face)))))
523 525
524(setup org-agenda 526(setup org-agenda
525 (:option org-agenda-skip-deadline-if-done t 527 (:option org-agenda-skip-deadline-if-done t