update
This commit is contained in:
parent
9317418e88
commit
2d472f6acc
@ -310,24 +310,35 @@
|
|||||||
(org-capture-templates
|
(org-capture-templates
|
||||||
`(("i" "Inbox" entry (file "inbox.org")
|
`(("i" "Inbox" entry (file "inbox.org")
|
||||||
,(concat "* TODO %?\n"
|
,(concat "* TODO %?\n"
|
||||||
"/Entered on/ %U"))
|
"Entered on %U"))
|
||||||
|
("m" "Meeting" entry (file+headline "agenda.org" "Future")
|
||||||
|
,(concat "* %? :meeting:\n"
|
||||||
|
"<%<%Y-%m-%d %a %H:00>>"))
|
||||||
|
("n" "Note" entry (file "notes.org")
|
||||||
|
,(concat "* Note (%a)\n"
|
||||||
|
"Entered on %U\n" "\n" "%?"))
|
||||||
("@" "Inbox [mu4e]" entry (file "inbox.org")
|
("@" "Inbox [mu4e]" entry (file "inbox.org")
|
||||||
,(concat "* TODO Process \"%a\" %?\n"
|
,(concat "* TODO Process \"%a\" %?\n"
|
||||||
"/Entered on/ %U"))))
|
"Entered on %U"))))
|
||||||
|
|
||||||
;; agenda config
|
;; agenda config
|
||||||
(org-agenda-files (list "everything.org" "inbox.org" "agenda.org" "notes.org"))
|
(org-agenda-files (list "everything.org" "inbox.org" "agenda.org" "notes.org"))
|
||||||
:config
|
;; Refile
|
||||||
(add-to-list 'org-modules 'org-habit t)
|
(setq org-refile-use-outline-path 'file)
|
||||||
:hook
|
(setq org-outline-path-complete-in-steps nil)
|
||||||
(org-mode . org-indent-mode) ;; Indent text
|
(setq org-refile-targets (quote ((nil :maxlevel . 9)
|
||||||
;; The following prevents <> from auto-pairing when electric-pair-mode is on.
|
(org-agenda-files :maxlevel . 9))))
|
||||||
;; Otherwise, org-tempo is broken when you try to <s TAB...
|
:config
|
||||||
(org-mode . (lambda ()
|
(add-to-list 'org-modules 'org-habit t)
|
||||||
|
:hook
|
||||||
|
(org-mode . org-indent-mode) ;; Indent text
|
||||||
|
;; The following prevents <> from auto-pairing when electric-pair-mode is on.
|
||||||
|
;; Otherwise, org-tempo is broken when you try to <s TAB...
|
||||||
|
(org-mode . (lambda ()
|
||||||
(setq-local electric-pair-inhibit-predicate
|
(setq-local electric-pair-inhibit-predicate
|
||||||
`(lambda (c)
|
`(lambda (c)
|
||||||
(if (char-equal c ?<) t (,electric-pair-inhibit-predicate c))))))
|
(if (char-equal c ?<) t (,electric-pair-inhibit-predicate c))))))
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package toc-org
|
(use-package toc-org
|
||||||
:commands toc-org-enable
|
:commands toc-org-enable
|
||||||
|
Loading…
x
Reference in New Issue
Block a user