Open zer09 opened 4 years ago
const textToBeHighlighted = *text[tobehighlighted];
In normal mode, with the cursor on *, you can do yst;fNumber<cr>
or vt;SfNumber<cr>
.
Also check the docs. You can find more examples there that in README.
use the g_
motion to select up through the last non-blank character on the line instead of t;
for non colon terminated lines.
Example I have this
how to surround the text
text[tobehighlighted]
?Then the output would be like this.
Thanks