Replies: 8 comments
-
Would it help if you (define-key evil-motion-state-map
"k" 'evil-ex-search-next) |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, that seems to have no effect. I did add this to my dotspacemacs/user-config defun...please let me know if there is a better way of adding that mapping. |
Beta Was this translation helpful? Give feedback.
-
Aside from adding it to your
Without the That's why I suggested to bind I've no idea why it doesn't work. With What do you see if you |
Beta Was this translation helpful? Give feedback.
-
"k" (Colemak): "n" (Colemak): So both of those look right. I did notice this quick error when reloading the .spacemacs configuration with evil-colemak-basics enabled that I didn't catch before:
|
Beta Was this translation helpful? Give feedback.
-
Actually, after revisiting that, "k" does not look correct (it should be "evil-ex-search-next" after defining that key). It seems that with the emacs-evil-colemak-basics package installed and loaded, remapping that key (presumably all key mapping defined in that package) isn't possible. Also, I would expect evil-search-next to have a similar behavior to evil-ex-search-next, but it does not seem to be the case (even without the emacs-evil-colemak-basic package enabled). |
Beta Was this translation helpful? Give feedback.
-
Try (with-eval-after-load 'emacs-evil-colemak-basics
(define-key evil-motion-state-map "k" 'evil-ex-search-next)) |
Beta Was this translation helpful? Give feedback.
-
Also, it's their design choice to have which is described in the second line of the table So it's not a bug of either Spacemacs nor evil-colemak-basics. |
Beta Was this translation helpful? Give feedback.
-
Switching to isearch from evil search (adding "(evil-select-search-module 'evil-search-module 'isearch)" to the user-config section) results in a "k" key that works as expected. I guess I fail to understand the difference between |
Beta Was this translation helpful? Give feedback.
-
Description
The wbolster/emacs-evil-colemak-basics (https://github.com/wbolster/emacs-evil-colemak-basics) seems to conflict with Spacemacs, notably with the search functionality. When this package is enabled, and upon searching for a keyword in the current buffer using "/", the correct keyword is highlighted, but the "next" key ("k" in the case of Colemak) searches for the previously searched keyword in reverse order instead of the present search term. Other keyword search term invocation methods, like "*", seem to work as expected.
Reproduction guide 🪲
Observed behaviour: 👀 💔
As above
Expected behaviour: ❤️ 😄
The "k" key in the Colemak keyboard layout (QWERTY "n") should cycle in order through search keyword instances.
System Info 💻
Beta Was this translation helpful? Give feedback.
All reactions