update
This commit is contained in:
parent
9317418e88
commit
2d472f6acc
@ -310,24 +310,35 @@
|
||||
(org-capture-templates
|
||||
`(("i" "Inbox" entry (file "inbox.org")
|
||||
,(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")
|
||||
,(concat "* TODO Process \"%a\" %?\n"
|
||||
"/Entered on/ %U"))))
|
||||
"Entered on %U"))))
|
||||
|
||||
;; agenda config
|
||||
(org-agenda-files (list "everything.org" "inbox.org" "agenda.org" "notes.org"))
|
||||
:config
|
||||
(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
|
||||
`(lambda (c)
|
||||
(if (char-equal c ?<) t (,electric-pair-inhibit-predicate c))))))
|
||||
)
|
||||
;; Refile
|
||||
(setq org-refile-use-outline-path 'file)
|
||||
(setq org-outline-path-complete-in-steps nil)
|
||||
(setq org-refile-targets (quote ((nil :maxlevel . 9)
|
||||
(org-agenda-files :maxlevel . 9))))
|
||||
:config
|
||||
(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
|
||||
`(lambda (c)
|
||||
(if (char-equal c ?<) t (,electric-pair-inhibit-predicate c))))))
|
||||
)
|
||||
|
||||
(use-package toc-org
|
||||
:commands toc-org-enable
|
||||
|
Loading…
x
Reference in New Issue
Block a user