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

f/t inherits ignorecase/smartcase while s doesn't #104

Closed
novadev94 opened this issue Dec 7, 2021 · 2 comments
Closed

f/t inherits ignorecase/smartcase while s doesn't #104

novadev94 opened this issue Dec 7, 2021 · 2 comments

Comments

@novadev94
Copy link

This is really confusing - switching from "vanilla" Vim as the default f/t doesn't inherits ignorecase/smartcase - they're always case-sensitive.

For example

abcXyzx
_

(cursor is at _)

fx in default Vim jumps to the last character while lightspeed's fx jumps to the X character. And even more confusing, lightspeed's sx jumps to the last character...

I think f/t case sensitivity behavior should be configurable or be made case-sensitive.

Thanks for the great plugin!

@ggandor
Copy link
Owner

ggandor commented Dec 10, 2021

You have a point here, it would be better to make f/t and s/x consistent, even if that means forcing case-sensitivity for f/t. (The whole smartcase/ignorecase issue regarding s/x has been discussed back and forth in #64. (Non-smart) case-insensitivity as an option is not entirely out of the question, but even that is not a simple task for s/x.)

@novadev94
Copy link
Author

Making f/t case sensitive would be great because it will be consistent with what s/x and Vim default f/t are doing.

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

2 participants