Open OrionRandD opened 4 years ago
You could add something like
(evil-define-key 'normal epresent-mode-map "j" 'scroll-down)
(evil-define-key 'normal epresent-mode-map "k" 'scroll-up)
(evil-define-key 'normal epresent-mode-map "p" 'epresent-previous-page)
(evil-define-key 'normal epresent-mode-map "n" 'epresent-next-page)
;; continue with other wanted bindings here...
to your .emacs init, if you want to configure it yourself.
If there's a standard way for modes to add evil-mode key bindings (e.g., by adding the above when the evil-define-key
function is defined) I would be happy to accept a pull request to that effect.
I think this issue is fixed by #67, but I may also have broken it in #76 (not merged at the time of writing), which extracts the evil-mode parts into their own feature (epresent-evil
) to silence various linter issues.
I should update the README or other docs on that PR to explain that evil users will need something like
(eval-after-load 'evil '(epresent-evil-bindings))
or
(use-package evil
:config (epresent-evil-bindings))
Thx for the fix...
Hi, Great package. Could you implement it to work with evil-mode? Thx