strip trailing whitespaces configuration

It is addition to #63, I would like to see hook/blame also.

If your editor is not in the linked gist, please tell me in comments.