Kungsgeten / org-brain

Org-mode wiki + concept-mapping
MIT License
1.72k stars 102 forks source link

Not possible to overwrite mode-keymap #389

Open LazerJesus opened 1 year ago

LazerJesus commented 1 year ago

I use general.el to create a keymap on SPC that is the same in every major mode. pretty much like spacemacs does. When in org-brain visualize mode, my SPC key gets overwritten and I have not yet found a way to reverse this behavior. any tips? as long as this is the case i can't use the package. I am a mouseless user and this f*cks with all my workflows.

(general-create-definer general-global-definer
  :keymaps 'override
  :states  '(insert emacs normal hybrid motion visual operator)
  :prefix  "SPC"
  :non-normal-prefix  "C-SPC")
Kungsgeten commented 1 year ago

Hmm, from what I can remember org-brain-visualize-mode doesn't use SPC for anything. However it inherits from special-mode which uses SPC so scroll. Not sure how I can help if you don't have this issues in other special modes.