Add org-brain config and related packages

This commit is contained in:
Jeremy Dormitzer 2020-02-03 17:31:11 -05:00
parent ab967fcd17
commit 57eece61a6

View File

@ -1394,6 +1394,17 @@ Always show inline images:
(setq org-agenda-files `(,(agenda-files)))
#+END_SRC
** org-brain
#+begin_src emacs-lisp
(use-package org-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
@ -1764,6 +1775,26 @@ Integrate Google calendar with org-mode:
(general-def '(normal motion) org-agenda-mode-map "gr" #'org-agenda-redo-and-fetch-gcal)
#+END_SRC
* link-hint
A very helpful package that provides jump-to-link functionality:
#+BEGIN_SRC emacs-lisp
(use-package link-hint
:commands (link-hint-open-link
link-hint-copy-link)
:init
(jdormit/define-prefix "ol" "link-hint")
(leader-def-key "oll" #'link-hint-open-link)
(leader-def-key "olc" #'link-hint-copy-link))
#+END_SRC
* org-cliplink
Intelligently inserts an org-mode link from the clipboard.
#+BEGIN_SRC emacs-lisp
(use-package org-cliplink
:general
(org-mode-map "C-c C-S-l" #'org-cliplink))
#+END_SRC
* Projectile
#+BEGIN_SRC emacs-lisp
(use-package projectile