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

Bind keymap to map #1079

Open
dyens opened this issue Jul 23, 2024 · 0 comments
Open

Bind keymap to map #1079

dyens opened this issue Jul 23, 2024 · 0 comments

Comments

@dyens
Copy link

dyens commented Jul 23, 2024

Hi!

I would like to use perspective + evil:

(use-package perspective
  :ensure t
  :after evil
  :bind
  ((:map evil-normal-state-map ("<SPC> l" . perspective-map)))
  :config
  (persp-mode))

This is incorrect, cause perspective lazy loaded and my key-binding will work only second time.
I can use :bind-keymap, but in this case i don't know how to bind my binding to evil-normal-state-map.

What is the proper way to fix this ?

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