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

Issue with f/t's same-key repeat #55

Closed
jandamm opened this issue Sep 15, 2021 · 3 comments
Closed

Issue with f/t's same-key repeat #55

jandamm opened this issue Sep 15, 2021 · 3 comments

Comments

@jandamm
Copy link

jandamm commented Sep 15, 2021

Thanks for creating this plugin. I'm liking it so far but I encountered one issue where the native f/t was nicer (or I'm doing it wrong 😉)

Imagine this situation where | is the cursor.

 |   hello abcade

When I would want to delete abca.

With native f I would type fad;.

With lightspeed I haven't found a way except fadfa. I would have expected fadf<CR> to work but this deleted until the end of line.

@ggandor
Copy link
Owner

ggandor commented Sep 15, 2021

Hi! I cannot reproduce this, fadf<cr> deletes abca, as it should 🤔

@jandamm
Copy link
Author

jandamm commented Sep 15, 2021

Hmm, weird. Now it works for me as well 🤷‍♂️.
It might be because I had https://github.com/unblevable/quick-scope installed which also adds a map for f.

I now also added omap ; f<CR> and omap , F<CR> which lets me use fad; as well while still being able to remap ;/, to something else 👍

@jandamm jandamm closed this as completed Sep 15, 2021
@ggandor
Copy link
Owner

ggandor commented Sep 15, 2021

You could also check the workaround in :h lightspeed-custom-ft-repeat-mappings (doing only the omaps then), so that you can repeat t/T too with ;/,.

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