1

Those requirements make relying solely on pattern-ranges tricky...perhaps even impossible though I didn't spend too much time thinking about it. Instead I figured I'd go the KISS route and use a search and mark approach and then use the marks as a range to be printed. I'll lay it all out on individual lines: call search('sta', 'c') : search forward for '...


1

It turns out that I was pressing enter, which was executing the last command without letting me input branch name. space should have been pressed instead.


Only top voted, non community-wiki answers of a minimum length are eligible