This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Add new command to jump to chunks instead of just words #10015
Labels
C-enhancement
Category: Improvements
For context, this feature request is related to #510 and the implementation in #8875.
Currently the way the amp-like jump command works is by filtering by words. This is the best choice for the default command, however, I would like to propose a second command which works on what I would like to call "chunks". There are times where instead of jumping and selecting a whole word, selecting part of a word is desired. An example would be changing
OnceCell
toOnceLock
, instead of jumping to the beginning of the word and selecting the whole thing, jumping to the second part of the word,Cell
would allow a replacement to be done in 1 keystroke.Current implementation:

New command:

it would also add a new jump command:

I've got a proof of concept here for how it would work, I'll rebase it to 24.03 and create a PR once that version is released.
Some open questions to answer:
_
back in, so I'm not sure if this is the right approachThe text was updated successfully, but these errors were encountered: