Last active
November 13, 2019 21:44
-
-
Save ngm/646f5a1e958920c1c0f31cc3b51a8762 to your computer and use it in GitHub Desktop.
Basic spacemacs org-brain layer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; put this file in ~/.emacs.d/private/org-brain | |
;; then add org-brain into your dotspacemacs-configuration-layers in .spacemacs | |
(defconst org-brain-packages | |
'(org-brain) | |
) | |
;; see https://github.com/Kungsgeten/org-brain#setup-and-requirements | |
(defun org-brain/init-org-brain () | |
(use-package org-brain | |
:ensure t | |
:init | |
(with-eval-after-load 'evil | |
(evil-set-initial-state 'org-brain-visualize-mode 'emacs)) | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It may be better to evilify "org-brain visualize buffer" a bit :)
so you'll get usual evil motion keys + most of org-brain-visualize-mode-map keys + possibility for customization (with
:bindings
)