Normally, I close the tabs using CTRL+W. In Terminal, that does not work. Instead, I have to use CTRL+SHIFT+W. Why is that? Can I change it to CTRL+W?

1 Answer 1


This is because in the shell itself, Ctrl+W deletes the previous word. Tying this to an application action will cause a conflict.

I understand that the elementary Team has enabled Ctrl+C for copy, despite it conflicting with a shell action. But that is because it's easy to tell whether some text is selected (so copy it) or not (so cancel the current running command).

However, the same cannot work for Ctrl+W. There's no way to tell whether you mean to close the tab or delete the word.

Murky waters: That said, you should be able to compile a version of Terminal with your preferred shortcut, if you're sure you will never use Ctrl+W to delete words. (Haven't tested; take it with a pinch of salt.)

  • 1
    Yeah, you're right! If I compile my own version, I will have to maintain it later on.. No, thanks :)
    – mnj
    Commented Dec 19, 2020 at 11:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.