Quote:
Also, I didn't know you could edit the file while filtering it.

The truth is that the lines are not being played to the -k alias "on the fly." Instead, they are copied into a separate buffer from which you start receiving them only after the input file (or window) is released. More on this here.