add shortcut to close buffer
warning for trailing space that should be kept