Remove org-brain
This commit is contained in:
parent
2b3088c84a
commit
04b113eb6b
@ -1485,19 +1485,6 @@ A function to add ids to every heading in an Org file:
|
||||
(setq org-agenda-files `(,(agenda-files)))
|
||||
#+END_SRC
|
||||
|
||||
** org-brain
|
||||
#+begin_src emacs-lisp
|
||||
(use-package org-brain
|
||||
:commands (counsel-brain)
|
||||
:init
|
||||
(setq org-brain-path (concat (get-dropbox-directory) "/org/deft"))
|
||||
(leader-def-key "ob" #'counsel-brain)
|
||||
:config
|
||||
(add-to-list 'evil-emacs-state-modes 'org-brain-visualize-mode)
|
||||
:general
|
||||
(org-brain-visualize-mode-map "SPC" leader-map))
|
||||
#+end_src
|
||||
|
||||
** Capture templates
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq org-capture-templates
|
||||
@ -1510,8 +1497,6 @@ A function to add ids to every heading in an Org file:
|
||||
("n" "Note" entry
|
||||
(file ,(agenda-files "notes.org"))
|
||||
"* %^{Description}\n%i%?")
|
||||
("B" "Brain" plain (function org-brain-goto-end)
|
||||
"* %i%?" :empty-lines 1)
|
||||
("l" "Log" entry
|
||||
(file ,(agenda-files "log.org"))
|
||||
"* %<%Y-%m-%d %H:%M:%S>%?")))
|
||||
@ -1912,9 +1897,7 @@ A very helpful package that provides jump-to-link functionality:
|
||||
:init
|
||||
(jdormit/define-prefix "ol" "link-hint")
|
||||
(leader-def-key "oll" #'link-hint-open-link)
|
||||
(leader-def-key "olc" #'link-hint-copy-link)
|
||||
(with-eval-after-load 'org-brain
|
||||
(general-def org-brain-visualize-mode-map "C-l" #'link-hint-open-link)))
|
||||
(leader-def-key "olc" #'link-hint-copy-link))
|
||||
#+END_SRC
|
||||
|
||||
* org-cliplink
|
||||
@ -1923,18 +1906,6 @@ Intelligently inserts an org-mode link from the clipboard.
|
||||
(use-package org-cliplink
|
||||
:commands (org-cliplink
|
||||
org-cliplink-clipboard-content)
|
||||
:init
|
||||
(with-eval-after-load 'org-brain
|
||||
(defun org-brain-cliplink-resource ()
|
||||
"Add a URL from the clipboard as an org-brain resource.
|
||||
Suggest the URL title as a description for resource."
|
||||
(interactive)
|
||||
(let ((url (org-cliplink-clipboard-content)))
|
||||
(org-brain-add-resource
|
||||
url
|
||||
(org-cliplink-retrieve-title-synchronously url)
|
||||
t)))
|
||||
(general-def org-brain-visualize-mode-map "L" #'org-brain-cliplink-resource))
|
||||
:general
|
||||
(org-mode-map "C-c C-S-l" #'org-cliplink))
|
||||
#+END_SRC
|
||||
|
Loading…
Reference in New Issue
Block a user