Skip to content
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

the example setup configuration cannot work in org-agenda (org-agenda won't become motion state) #108

Open
milanglacier opened this issue Feb 3, 2023 · 0 comments

Comments

@milanglacier
Copy link

To be specific, the example configuration in the README cannot set the evil state of org-agenda to motion state, instead, org-agenda will be kept in emacs state. (despite those keys are set in motion state though)

(use-package evil-org
  :ensure t
  :after org
  :hook (org-mode . (lambda () evil-org-mode))
  :config
  (require 'evil-org-agenda)
  (evil-org-agenda-set-keys))

I change the configuration example to make the org-agenda default state as motion.

(use-package org
  :ensure nil
  :config
  (evil-set-initial-state 'org-agenda-mode 'motion))

(use-package evil-org-agenda
  :ensure nil
  :after org-agenda
  :config
  (evil-org-agenda-set-keys))
@milanglacier milanglacier changed the title the example setup configuration cannot work in org-agenda the example setup configuration cannot work in org-agenda (org-agenda won't become motion state) Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant