How can I repeat the execution of a macro until a character is encountered?
For example (just an example, it's not the original problem I want you to solve)
I want to convert a
Sentence case in the following line using the macro as follows:
^7wviwu~, now since I have
Some_string_constant, I want to replace
_ with a
private static final String SOME_STRING_CONSTANT = "SOME_STRING_CONSTANT";
Now different lines have different number of
_ and I need to carefully manually count and repeat the second macro.
How can I repeat second macro until I encounter
" as I am trying to execute macro only on the string enclosed in
Note: I am using a vim plugin in IDE which does not support a replacement for a selection.