I use a different keyboard layout (colemak) so standard evil keys are a bit annoying. Is there a way to swap keys globally (minus when writing text)?
you may be looking for https://github.com/wbolster/evil-colemak-basics which provides basic rebindings that aren't "a bit annoying" but instead an awesome mix of colemak and qwerty that feels very natural for seasoned vim/evil users switching to colemak.
(i am the author.)
-
1This is really great and with minor modifications probably the setup I had before. But does this work with spacemacs? In the sense that the spacemacs keys get rewired as well? – Horstenson Dec 14 '16 at 20:33
-
i do not use spacemacs, so please be more specific. evil-colemak-basics is a minor mode that overrides key bindings in motion, normal and visual states (and a few extra things) which are provided by evil. afaik spacemacs uses evil so in theory this should work as-is. – wouter bolsterlee Dec 14 '16 at 20:51
-
Spacemacs uses leader key and vim keys to do everything in emacs. So ideally I wanted to swap the keys there as well. Anyway clearly your package doesn't do that but works well inside a buffer so thanks a lot. – Horstenson Dec 14 '16 at 21:49
-
1A late thanks, I revisited your package and it works well now with spacemacs. – Horstenson Mar 1 '17 at 12:37
-
ok wow, so you actually use it? any feedback or improvements that come to mind? (use github please) – wouter bolsterlee Mar 1 '17 at 15:39
toggle-input-method
(bound to `C-\` ) might work for this. It changes the keys for typing, but not for navigation. – nispio Nov 7 '16 at 14:29