doom-meow icon indicating copy to clipboard operation
doom-meow copied to clipboard

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

Open lilactown opened this issue 2 years ago • 5 comments

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

lilactown avatar Oct 16 '22 00:10 lilactown

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.

xificurC avatar Oct 20 '22 14:10 xificurC

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

lilactown avatar Oct 20 '22 16:10 lilactown

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))))

quarkw avatar Feb 05 '23 08:02 quarkw

@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?

anderso avatar Jun 03 '23 06:06 anderso

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

quarkw avatar Jun 10 '23 17:06 quarkw