Better pasting and close buffer shortcut