I see how to copy text in vim using visual mode, arrow keys, y to yank, and p to paste. I also see how to find a given starting string using back slash.
However, I'd appreciate knowing how to copy all the text from a given start phrase (such as To list all available commands enter "/?"
) to a given stop phrase (such as Enter chat message or link here
).
I'd normally just use arrow keys, but for my application, the number of lines in-between the start and stop phrases may vary, so I'd like one script to work in all cases.
Thanks a lot in advance!
P.S. Does the solution also work in vimium? I asked the question on this site because practically everything that works for vim also works for vimium, but my actual application uses vimium.