snippets: add space filter to get given number of spaces.

This could possibly be enhanced to support tabs. But that is difficult
since you need to know where in the editor you are.