Set Control+q as attachment for closing shell, and Control+w for closing