viWord 0.2
I have made quite significant improvement to the first version of the macro, a lot more usable now. Give it a try again if it didn’t quite work for you.
Grab it here. See the README.txt within for installation instructions.
Changes include:
“/” - find text
“n” - next occurence of the search text
“N” - prev occurence of the search text
“^” - go to beginning of line
“C” - delete to end-of-line
“G” - go to the end of file
“:w” - save current file
“.” - repeat last command
“dd” - delete current line
“s” - substitute (works with count prefix too)
“p” - paste (not exactly Vim’s behavior, only works as Ctrl-v)