[org][org-brain] Add SPC menu (vim or hybrid style)

Fixes: org-brain doesn't have SPC menu
https://github.com/syl20bnr/spacemacs/issues/13548
This commit is contained in:
duianto 2021-02-26 12:39:34 +01:00 committed by Maximilian Wolff
parent 8181bc9cf2
commit 69f21eaaa0
2 changed files with 5 additions and 1 deletions

View File

@ -2924,6 +2924,7 @@ files (thanks to Daniel Nicolai)
(thanks to Mariusz Klochowicz)
- Added keybindings ~SPC a o C f~ and org/agenda local ~SPC m C f~ keybindings
and changed =clocks= prefixes to =clocks/contacts=
- Add =org-brain= buffer, ~SPC~ menu (vim or hybrid style) (thanks to duianto)
- Made =org= layer depend on =spacemacs-org= (thanks to Eivind Fonn)
- Remove =mu4e= and =notmuch= from =org= (thanks to Sylvain Benner)
- Use evil-org from MELPA (thanks to Eivind Fonn)

View File

@ -613,7 +613,10 @@ Headline^^ Visit entry^^ Filter^^ Da
"Bgf" 'org-brain-goto-friend
"BR" 'org-brain-refile
"Bx" 'org-brain-delete-entry)
(evil-set-initial-state 'org-brain-visualize-mode 'emacs))))
(evil-set-initial-state 'org-brain-visualize-mode 'emacs)
(when (memq dotspacemacs-editing-style '(vim hybrid))
(with-eval-after-load 'org-brain
(define-key org-brain-visualize-mode-map (kbd "SPC") 'spacemacs-cmds))))))
(defun org/init-org-expiry ()
(use-package org-expiry