hop.nvim icon indicating copy to clipboard operation
hop.nvim copied to clipboard

repeat motion with ; and , like default vim

Open kvngvikram opened this issue 3 years ago • 1 comments

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.

kvngvikram avatar Oct 11 '22 06:10 kvngvikram

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.

undg avatar Jan 10 '23 09:01 undg