4 ms·
Yep. Allows for some seriously cool programmatic editing: g/^abc/norm ^3wciwHello^V^]2ei! Any line starting with abc, replace the 3rd word with hello, and
by Jestar342 6y ago
Yep. Allows for some seriously cool programmatic editing:
g/^abc/norm ^3wciwHello^V^]2ei!
Any line starting with abc, replace the 3rd word with hello, and append an exclamation mark to the end of the 5th word. ^] is the control char for escape.