Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

t/T with evil-snipe-override-mode does not behave correctly #72

Open
TheBlob42 opened this issue Oct 2, 2020 · 0 comments
Open

t/T with evil-snipe-override-mode does not behave correctly #72

TheBlob42 opened this issue Oct 2, 2020 · 0 comments

Comments

@TheBlob42
Copy link

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.

evil-snipe-t
(I press "t<space>" followed by "t" multiple times)

evil-snipe-T
(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 😬

@TheBlob42 TheBlob42 changed the title t/T with evil-snipe-override-mode do not behave correctly t/T with evil-snipe-override-mode does not behave correctly Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant