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)))
|
(setq org-agenda-files `(,(agenda-files)))
|
||||||
#+END_SRC
|
#+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
|
** Capture templates
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
@ -1510,8 +1497,6 @@ A function to add ids to every heading in an Org file:
|
|||||||
("n" "Note" entry
|
("n" "Note" entry
|
||||||
(file ,(agenda-files "notes.org"))
|
(file ,(agenda-files "notes.org"))
|
||||||
"* %^{Description}\n%i%?")
|
"* %^{Description}\n%i%?")
|
||||||
("B" "Brain" plain (function org-brain-goto-end)
|
|
||||||
"* %i%?" :empty-lines 1)
|
|
||||||
("l" "Log" entry
|
("l" "Log" entry
|
||||||
(file ,(agenda-files "log.org"))
|
(file ,(agenda-files "log.org"))
|
||||||
"* %<%Y-%m-%d %H:%M:%S>%?")))
|
"* %<%Y-%m-%d %H:%M:%S>%?")))
|
||||||
@ -1912,9 +1897,7 @@ A very helpful package that provides jump-to-link functionality:
|
|||||||
:init
|
:init
|
||||||
(jdormit/define-prefix "ol" "link-hint")
|
(jdormit/define-prefix "ol" "link-hint")
|
||||||
(leader-def-key "oll" #'link-hint-open-link)
|
(leader-def-key "oll" #'link-hint-open-link)
|
||||||
(leader-def-key "olc" #'link-hint-copy-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)))
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* org-cliplink
|
* org-cliplink
|
||||||
@ -1923,18 +1906,6 @@ Intelligently inserts an org-mode link from the clipboard.
|
|||||||
(use-package org-cliplink
|
(use-package org-cliplink
|
||||||
:commands (org-cliplink
|
:commands (org-cliplink
|
||||||
org-cliplink-clipboard-content)
|
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
|
:general
|
||||||
(org-mode-map "C-c C-S-l" #'org-cliplink))
|
(org-mode-map "C-c C-S-l" #'org-cliplink))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
Loading…
Reference in New Issue
Block a user