doomemacs/modules/lang/org/contrib/brain.el
Henrik Lissner 14cf97e594
lang/org: use org-attach instead of custom system
- Adds more keys under `<localleader> a`
- Reconfigures org-download to use org-attach system
- Make org-id-track-globally = t a global default now (not just for
  org-brain)
- Renamed +org-init-centralized-attachments-h to +org-init-attachments-h
- org-attach-store-link-p = t (stores a link to an attachment when it is
  attached)
- org-attach-use-inheritance = t (inherit attachment properties from
  parent nodes)
2019-12-29 16:31:25 -05:00

20 lines
640 B
EmacsLisp

;;; lang/org/contrib/brain.el -*- lexical-binding: t; -*-
;;;###if (featurep! +brain)
(use-package! org-brain
:defer t
:init
(setq org-brain-visualize-default-choices 'all
org-brain-title-max-length 24
org-brain-include-file-entries nil
org-brain-file-entries-use-title nil)
:config
(set-evil-initial-state! 'org-brain-visualize-mode 'emacs)
(set-popup-rule! "^\\*org-brain" :side 'right :size 1.00 :select t :ttl nil)
(cl-pushnew '("b" "Brain" plain (function org-brain-goto-end)
"* %i%?" :empty-lines 1)
org-capture-templates
:key #'car :test #'equal))