Is there a "Close all documents" keyboard shortcut for Notepad++?

11,266

Solution 1

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

Solution 2

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

Solution 3

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:
11,266

Related videos on Youtube

Uwe Keim
Author by

Uwe Keim

German developer. Some of my apps: SharePoint Systemhaus Göppingen (zwischen Stuttgart und Ulm) Eigene Homepage erstellen Test Management Software Windows 10 Ereignisanzeige Very proud father of Felix (2012) and Ina (2014). Loves running, climbing and Indian food. Code Project member #234.

Updated on September 18, 2022

Comments

  • Uwe Keim
    Uwe Keim over 1 year

    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?

  • Uwe Keim
    Uwe Keim over 11 years
    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!