I can use 0
and $
to move to the start and end of the line, and w
and b
to move between words, but what about moving to the middle of them? Any ways or plugins to achieve this?
As I mentioned in reply to your other post, I would use leap.nvim for this. It allows jumping to any two-letter pattern, which I find useful to complement the built-in motions.
The built-in ways to do this would be using marks, (:h mark
) but this only allows jumping to previously marked locations. For more built-in jumps, see also :h ]
.