0

Using emacs 25.2.2, general, evil and evil-collection from MELPA.

I have the following in my init.el:

(general-unbind 'org-agenda-mode-map
  "SPC")

(general-create-definer my-leader
  :prefix "SPC")

(my-leader 'normal 'override
  "fs" 'save-buffer)

(my-leader
  :states 'motion
  :keymap 'org-agenda-mode-map
  "fs" 'org-save-all-org-buffers)

In normal mode, all goes well. But in org-agenda, SPC is still bound to org-agenda-show-and-scroll-up.

How do I set the SPC f s keymap in org agenda?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.