Yet another experiment for better-find
Related #851
This PR add following feature.
Add vim-mode-plus:find-next(This is find's hidden editor specific command).
Allow user to chose next match before confirm.
When combined with operator this before confirm adjustment is super useful.
Use case in my mind
When your cursor is at |
You have ; mapped to vim-mode-plus:find-next.
Text: text = "this is |\"example\" of use case"
You want to change rest of text by c t ".
But because of escaped \" is also matched to ", you stopped at earlier " than one you aimed.
In this case you can start c t ".
But you noticed it matched earlier ", so adjust by ; ;.
Now you can change intended range.
Why this feature is specially necessary is it's not replaceable by . repeat.
(c t " then insert-some-text, .) is NOT equals to (c 2 t " then insert-some-text).
Yet another experiment for better-find Related #851
This PR add following feature.
vim-mode-plus:find-next
(This is find's hidden editor specific command).Use case in my mind
|
;
mapped tovim-mode-plus:find-next
.text = "this is |\"example\" of use case"
c t "
.\"
is also matched to"
, you stopped at earlier"
than one you aimed.c t "
."
, so adjust by; ;
.Why this feature is specially necessary is it's not replaceable by
.
repeat. (c t "
then insert-some-text,.
) is NOT equals to (c 2 t "
then insert-some-text).Example keymap