Help overriding evil-org-agenda bindings
codygman opened this issue · comments
Cody Goodman commented
I just want to swap a few of them:
(use-package evil-org
:after org
:config
(add-hook 'org-mode-hook 'evil-org-mode)
(add-hook 'evil-org-mode-hook
(lambda ()
(evil-org-set-key-theme)))
(require 'evil-org-agenda)
(evil-org-agenda-set-keys)
(evil-define-key 'motion evil-org-mode-map
(kbd "i") 'org-agenda-clock-in
(kbd "o") 'org-agenda-clock-out
(kbd "x") 'org-agenda-clock-cancel
(kbd "I") 'org-agenda-diary-entry
(kbd "O") 'delete-other-windows
(kbd "X") 'org-agenda-bulk-action))
This doesn't seem to work. For org I see you can use evil-org-set-key-theme
but I'm not sure how else I'd customize the org-agenda bindings.
Somelauw commented
The agenda uses org-agenda-mode-map
. Does that help?