-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
org-brain doesn't have SPC menu #13548
Comments
I found something that works for me, though I am not sure if this will generalize. In .spacemacs I added the following to the user config area
When running I am not sure if this breaks anything downstream though. |
The reason why spacemacs/layers/+emacs/org/packages.el Line 600 in 28ebdf2
possibly because it's suggested in the org-brain setup section:
In emacs state the Spacemacs menu is opened by pressing: A possible workaround:Add this to the (with-eval-after-load 'org-brain
(define-key org-brain-visualize-mode-map (kbd "SPC") 'spacemacs-cmds)) |
Thank you, the workaround works perfectly! I wish it could be added as a default setting.
Sent with [ProtonMail](https://protonmail.com) Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
…On Monday, June 22, 2020 10:00 AM, duianto ***@***.***> wrote:
The reason why SPC doesn't work by default is because org-brain-visualize-mode is started in emacs state:
https://github.com/syl20bnr/spacemacs/blob/28ebdf290843a96595546f306b8f375a950df37b/layers/%2Bemacs/org/packages.el#L600
possibly because it's suggested in the org-brain setup section:
https://github.com/Kungsgeten/org-brain#setup-and-requirements
> If you’re an evil user, you’ll want to add (evil-set-initial-state 'org-brain-visualize-mode 'emacs) to your org-brain configuration.
In emacs state the Spacemacs menu is opened by pressing: M-m
A possible workaround:
Add this to the dotspacemacs/user-config section:
(
with-eval-after-load
'org-brain
(
define-key
org-brain-visualize-mode-map (
kbd
"
SPC
"
)
'spacemacs-cmds
))
—
You are receiving this because you authored the thread.
Reply to this email directly, [view it on GitHub](#13548 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/ABYQ4KTSQGPED2JCOYBOB4LRX5WXBANCNFSM4MYYTCDQ).
|
The workaround does indeed work. Should it / can it be upstreamed to the default setup for the |
Fixes: org-brain doesn't have SPC menu syl20bnr#13548
A PR has been opened with a possible solution: |
Fixes: org-brain doesn't have SPC menu #13548
The PR's changes have been applied to the @srgkoshelev Can you test that it works as expected. |
Thank you, guys! I have removed the lines from the config && updated everything. It works! |
Yup, works great! |
Fixes: org-brain doesn't have SPC menu syl20bnr#13548
Fixes: org-brain doesn't have SPC menu syl20bnr#13548
Description
This might be a feature request rather than a bug.
org-brain doesn't recognize default spacemacs key bindings, e.g. SPC menu.
Reproduction guide 🪲
Observed behaviour: 👀 💔
End of buffer
Expected behaviour: ❤️ 😄
SPC menu!
System Info 💻
(html markdown csv helm auto-completion emacs-lisp multiple-cursors treemacs finance python git org spell-checking syntax-checking latex)
The text was updated successfully, but these errors were encountered: