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

Enhancement: Modifiable clever_f_chars_match_any_signs list #26

Open
gyermolenko opened this issue Nov 27, 2015 · 5 comments
Open

Enhancement: Modifiable clever_f_chars_match_any_signs list #26

gyermolenko opened this issue Nov 27, 2015 · 5 comments

Comments

@gyermolenko
Copy link

I most cases when i hit "f;" (search and go to any sign) i get too many variants. As a result - i've tried it a couple of times and just do not use since.

Could you please add an option like "clever_f_chars_any_signs list" with possibility to limit the list?
".", ",", "_", " ' " are easy to jump by their original name (e.g. "f.")

@rhysd
Copy link
Owner

rhysd commented Nov 30, 2015

There is no feature to specify the sign, but I think I can add it!

@rhysd
Copy link
Owner

rhysd commented Nov 30, 2015

I tried implementing this feature to the latest 'dev' branch.
Could you check the behavior is what you intended?

" e.g. 'f.' matches to . and _ and ' and ,
let g:clever_f_chars_match_any_signs = '.'
let g:clever_f_any_signs_match_signs = ".,_'"

@gyermolenko
Copy link
Author

Thanks! Works great. I'll let you know if i find any issues with that.
And this is my current configuration:
let g:clever_f_chars_match_any_signs = ';'
let g:clever_f_any_signs_match_signs = "!@#$%^:&+="

@rhysd
Copy link
Owner

rhysd commented Nov 30, 2015

OK, thank you for the confirmation. I'll use this feature a little more and merge to master branch if no problem is found.

@lyndhurst
Copy link

Hi,
I stumbled upon this issue while looking for this exact feature, and I am glad to see it is already implemented.
However, I cannot find g:clever_f_any_signs_match_signs variable in the help page, and seeing the last comment is about 6 years old, I am wondering what is the status on this feature and if it was merged to the master branch.
Thank you for letting me know.

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

3 participants