Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 5 down vote accepted

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

share|improve this answer
    
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

ALT+4

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.

share|improve this answer
    
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++.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .