Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

repeat motion with ; and , like default vim #327

Open
kvngvikram opened this issue Oct 11, 2022 · 1 comment
Open

repeat motion with ; and , like default vim #327

kvngvikram opened this issue Oct 11, 2022 · 1 comment

Comments

@kvngvikram
Copy link

Hi,
I am habituated to use ; and , for repeating last f, t, F, T from the default vim behavior.
I like using the hints, but when i fallback to pressing , or ; nothing works.
Is it possible to just save the letter used for hits so that , and ; can also work later?

Let me give an example, here is a line

function(arg1, arg2, arg3, arg4)

and my cursor is somewhere in between. I want to delete some argument completely. I can use hints from hop.nvim to go the ',' character and then press 'd;' or 'd,' . Here I am trying to use the default ; and , functionality but it doesn't work. Instead of pressing just , or ; I have to press f or t and select the hints which is more keypresses and annoying.

Should I config something ? I was not able to find.
Thanks.

@undg
Copy link

undg commented Jan 10, 2023

I'm having a very similar problem, that is corresponding to repetition with . for example cT" to change something till ".
When I'm pressing the dot, the keyboard in vim is freezing and I need to ctrl-c to bring it back to life.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants