Fixing buffer close keybindings