From 57eece61a661d3c98163bd48b9fa187b7ef185a4 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Mon, 3 Feb 2020 17:31:11 -0500 Subject: [PATCH] Add org-brain config and related packages --- emacs/init.org | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/emacs/init.org b/emacs/init.org index 012c08e..15437ce 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -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