Vim 101: Filtering for Fun and Profit
Vim supports filter commands, where a filter is a program that accepts and changes text using standard IO. I’m going to give some Unix-based examples, so the actual binaries I refer to may not be available in Windows, but the principles are the same.