t/T with evil-snipe-override-mode does not behave correctly
TheBlob42 opened this issue · comments
Config
Here is my config for evil-snipe
:
(use-package evil-snipe
:after evil
:config
(evil-snipe-mode 1)
(evil-snipe-override-mode 1))
I have tested it with my personal config as well as a "blank" config containing only evil and evil-snipe
Example
I want to jump to a whitespace character with "t", but it sometimes jumps onto a whitespace instead of in front of it even while pressing "t" multiple times. With "T" it seems that it will always jump onto the whitespace instead of in front of it.
(I press "t<space>" followed by "t" multiple times)
(I press "T<space>" followed by "T" multiple times)
Expected behavior
I would expect that the cursor jumps correctly in front of the target whitespace.
"Solutions"
I can solve this issue by setting evil-snipe-skip-leading-whitespace
to nil
, but then I loose this functinality.
I had a look into the code, but I would need a lot more time to find out what is going wrong. I hope you have an idea 😬