0

In order to install evil and evil-collections I added this to my config:

(use-package evil
  :ensure t
  :init
  (setq evil-want-keybinding nil)
  :config
  (evil-mode 1))

(use-package evil-collection
  :after evil
  :ensure t
  :config
  (evil-collection-init))

Then for the keybind:

(define-key evil-motion-state-map (kbd "SPC w") switch-window)

But I get this error on boot:

symbol's value as variable is void: evil-motion-state-map

I am pretty new to emacs so I am unsure why it would not work and I haven't found something online.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.