Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

many leader keybindings are missing when the +leader module flag is enabled #13

Open
lilactown opened this issue Oct 16, 2022 · 5 comments

Comments

@lilactown
Copy link

From the README

... and many leader keybindings are missing when the +leader module flag is enabled.

I have solved the problem of having very little keybindings out of the box when using +leader by copying the keybindings from Doom's editor/evil/+evil-keybindings.el file, and commenting out the few things that actually depend on evil.

The localleader key is still totally garbled per #1

@xificurC
Copy link
Contributor

if you reach a good state where meow works without the keymap please share your setup! I'll also try to take a look at this in the meantime, if time permits.

@lilactown
Copy link
Author

lilactown commented Oct 20, 2022

TBH I gave up on this and decided to roll my own config without Doom, based around meow

@quarkw
Copy link

quarkw commented Feb 5, 2023

This is actually not a bug with meow, but is caused by disabling the evil module, as the removed prefixes contain bindings for functions that are part of the evil module

I leave (evil +everywhere) in my doom init.el, and then put this following block in my doom-meow's config.el to disable evil by default. As far as I can tell, if I ever want to use evil mode, I can just call (evil-mode) and it’ll override Meow’s keybindings.

(if (modulep! :editor evil) 
  (add-hook! 'after-init-hook 
    (defun meow-init-local-var-hooks-disable-evil () 
      (remove-hook 'doom-after-modules-config-hook 'evil-mode) 
      (evil-mode -1))))

@anderso
Copy link

anderso commented Jun 3, 2023

@quarkw Can you elaborate for someone new to emacs? Does that allow me to use meow for editing and let doom handle the leader key stuff? Do you have both meow and evil in the editor section of doom's init.el? Like this:

:editor
(meow +qwerty +override +leader)
(evil +everywhere)

The title of #1 mentions "the keypad flag", is that the +leader flag?

@quarkw
Copy link

quarkw commented Jun 10, 2023

That looks roughly right to me, but I actually haven't used Meow for a while. Sorry I don't know anything about the keypad flag. If there's none documented in meow, they're probably referring to the +leader flag

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants