Strip whitespace with d<space>

Function stolen from github.com/mathiasbynens/dotfiles