add shortcut command to remove spaces at the end of line