News for hackers. Stuff that matters.
Re:Leap: Neovim’s Answer to the Mouse by oktwtf on Saturday October 08, 2022 @09:24PM (#33137525)
I never even thought to numerically increment the action!

What beautiful chords at this here fireside chat.

Re:Leap: Neovim’s Answer to the Mouse by zefhous on Sunday October 09, 2022 @12:01AM (#33138177)
There’s also the `;`, which repeats the last movement! So if you did `dft` and didn’t see the extra “t” in the way in the first place, you can then just do `d;`. It’s like `.` but for movement!

I think that’s right anyway, no vim terminal at hand to check myself.

Re:Leap: Neovim’s Answer to the Mouse by cuddlecake on Sunday October 09, 2022 @04:20AM (#33139075)
Wouldn't just `.` do the same as `d;` in that case?
Re:Leap: Neovim’s Answer to the Mouse by amelius on Sunday October 09, 2022 @11:38AM (#33142235)
Not always, the ";" sets the repetition-count of the operation to 1.

You can type "d2;" however.

Re:Leap: Neovim’s Answer to the Mouse by cuddlecake on Sunday October 09, 2022 @03:02PM (#33144192)
Good to know, thank you
Re:Leap: Neovim’s Answer to the Mouse by oktwtf on Sunday October 09, 2022 @03:18PM (#33144322)
Oh great, I’ll finally have to remove my remap of ‘; = :’ never did I investigate to know what I was opting out of.
Re:Leap: Neovim’s Answer to the Mouse by paledot on Tuesday October 11, 2022 @09:41PM (#33171706)
Not worth it. That remap has saved me more keystrokes than I can reasonably count. But adding the opposite remap for good measure isn't the worst idea.