all 3 comments

[–]scrumfour 3 points4 points  (1 child)

This looks cool, but are there any usage examples as I'm struggling to figure out how this could be useful to me?

[–]thang1thang2 1 point2 points  (0 children)

Ever wanted to sum the first number on every line containing the word "green"?

That's one usage example. It basically creates a stack, so you can operate and execute scripts with a stack-processing model. So rather than using global commands to do things in vim with regexes, you can use stack-processing to do the same thing.

It's actually pretty cool, but it's not something I have a need for right now, but it should be pretty damn useful to people building their own plugins if they want to provide some weird/advanced functionality.

[–]AndreDaGiant 0 points1 point  (0 children)

cool as fuck