xahlee / xah-fly-keys

the most efficient keybinding for emacs
http://xahlee.info/emacs/misc/xah-fly-keys.html
484 stars 82 forks source link

cannot use xah-fly-keys in doom-emacs and emacs with evil-mode #130

Open OrionRandD opened 3 years ago

OrionRandD commented 3 years ago

Hi. I am trying to learn xah-fly-keys in my 3 emacs setups:

  1. Scimax with evil-mode https://github.com/jkitchin/scimax

  2. Emacs normal with evil-mode

  3. Emacs Doom with is totally dependent of evil-mode https://github.com/hlissner/doom-emacs

When I activate xah-fly-keys my keyboard goes just crazy... It messes up all keyboard-keys and xah-fly-keys do not answer the way it should. In other words, the keyboard reaches a state of being uncontrolled. Does xah-fly-keys have a directive to disable evil-mode and evil-collection and all related evil packges that interfere in taking over the whole keyboard control:

Like an if-else statement?

if xah-fly-keys { evil-mode evil-collection helm-evil company-evil orgmode-evil} then: { disable them...} else: {force use: xah-fly-keys }

Something like that...

OrionRandD commented 3 years ago

Even if I disable evil-mode with "M-x evil-mode" xah-fly-keys do not work properly
:(

ghost commented 3 years ago

Can you show the code you're using to activate xah-fly-keys?

What do you mean the keyboard goes crazy?

If I'm understanding this right, as per 2 you want xah-fly-keys & evil-mode? I don't think that will work, they both will rebind keys. Whats the goal you're trying to achieve?

I don't think xah-fly-keys has something to disable evil stuff. Depending on what your goal is you could just selectively turn on/off the evil stuff.