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

feature request: add support for lmap and diagraph argument #6

Open
TheSast opened this issue Oct 25, 2024 · 0 comments
Open

feature request: add support for lmap and diagraph argument #6

TheSast opened this issue Oct 25, 2024 · 0 comments

Comments

@TheSast
Copy link

TheSast commented Oct 25, 2024

The {char} argument for the default implementation of f respects the user's lmap mappings and allows the user to use digraphs as the argument for the search. (It's better described at :h f)

For the latter feature, here is an example:

-- v
return loc == "de" and "Großstadt" or "Metropolis"

f<C-k>ss

--                         v
return loc == "de" and "Großstadt" or "Metropolis"

Without this it can become quite difficult to use f/t motions to navigate when writing languages other than english.

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