Using Microsoft Windows and having Ctrl + W to close the current window/tab in Notepad++, I was looking for a similar shortcut to close all documents/windows/tabs at once.

What is possible is to press/click:

Window > Windows > Ctrl + A > Close windows(s)

But these are a lot of clicks/keys to press.

In addition, I could simply hit Ctrl + W and keep my fingers on the keyboard until all windows are closed. Again this feels kind of a hack to me.

So my question is:

Is it possible to configure Notepad++ to close all open documents with a single keyboard combination?


Not by default, but you can add one with the Shortcut Mapper (Settings → Shortcut Mapper...):

Shortcut mapper

Just double click on the item you want to change, and you'll see this window:

Shortcut mapper editor

  • OMG! I searched over and over through that dialog and did not see that shortcut (which was on the very first page without scrolling). Shame on me. And thanks a lot for your hint! – Uwe Keim Dec 3 '12 at 7:33


This is a common keyboard shortcut to Quit in Windows. It is not standard across other operating systems, like CTRL+W to Close. I think it was inherited from a popular MS-DOS application, like WordPerfect.

  • Yes, I know :-) In Windows 8 it seems that you can use Win + Q to quit an application just like Cmd + Q on OS X. – Uwe Keim Dec 3 '12 at 7:15

No, not any shortcut to close all tabs/windows in a sudden for Notepad++.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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