I want to essentially be able to use a command similar to dt#, where the # represents any numerical character.My use case is modifying a script where I have a few server instances with long names that I wanted to abbreviate, from:instance0instance1instance2instance3toi0i1i2i3Is that possible without a regex? It would be useful to have something similar that includes a way to represent any alpha or symbol too.
How can I execute a command with a motion to the next/previous number?
cursor motions
Placing your cursor on the second character in your string (n), you could use d/\d. I suppose this does count as regex still, but looking at the documentation of t and f, they both use {char} which does not seem to include character groups or types such as \d represents digits in a regex pattern.i[n]stance0instance1instance2instance3d/\di0instance1instance2instance3