• Login
Community
  • Login

List of all assigned keyboard shortcuts

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
47 Posts 17 Posters 29.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    Alan Kilborn
    last edited by Alan Kilborn Aug 15, 2019, 5:56 PM Aug 15, 2019, 5:54 PM

    I’m calling this thread incomplete until someone provides the full listing of a default set of keycombo assignments for Notepad++ 7.7.1, as output by the script shown above. As no one has done that yet, well… :

    New                                : Ctrl+N
    Open...                            : Ctrl+O
    Reload from Disk                   : Ctrl+R
    Save                               : Ctrl+S
    Save As...                         : Ctrl+Alt+S
    Save All                           : Ctrl+Shift+S
    Close                              : Ctrl+W
    Close All                          : Ctrl+Shift+W
    Print...                           : Ctrl+P
    Exit                               : Alt+F4
    Restore Recent Closed File         : Ctrl+Shift+T
    UPPERCASE                          : Ctrl+Shift+U
    lowercase                          : Ctrl+U
    Proper Case                        : Alt+U
    Proper Case (blend)                : Alt+Shift+U
    Sentence case                      : Ctrl+Alt+U
    Sentence case (blend)              : Ctrl+Alt+Shift+U
    Split Lines                        : Ctrl+I
    Join Lines                         : Ctrl+J
    Move Up Current Line               : Ctrl+Shift+Up
    Move Down Current Line             : Ctrl+Shift+Down
    Insert Blank Line Above Current    : Ctrl+Alt+Enter
    Insert Blank Line Below Current    : Ctrl+Alt+Shift+Enter
    Toggle Single Line Comment         : Ctrl+Q
    Single Line Comment                : Ctrl+K
    Single Line Uncomment              : Ctrl+Shift+K
    Block Comment                      : Ctrl+Shift+Q
    Function Completion                : Ctrl+Spacebar
    Path Completion                    : Ctrl+Alt+Spacebar
    Word Completion                    : Ctrl+Enter
    Function Parameters Hint           : Ctrl+Shift+Spacebar
    Column Editor...                   : Alt+C
    Find...                            : Ctrl+F
    Find in Files...                   : Ctrl+Shift+F
    Find Next                          : F3
    Find Previous                      : Shift+F3
    Select and Find Next               : Ctrl+F3
    Select and Find Previous           : Ctrl+Shift+F3
    Find (Volatile) Next               : Ctrl+Alt+F3
    Find (Volatile) Previous           : Ctrl+Alt+Shift+F3
    Replace...                         : Ctrl+H
    Incremental Search                 : Ctrl+Alt+I
    Search Results Window              : F7
    Previous Search Result             : Shift+F4
    Next Search Result                 : F4
    Go to...                           : Ctrl+G
    Go to Matching Brace               : Ctrl+B
    Select All Between Matching Braces : Ctrl+Alt+B
    1st Style                          : Ctrl+Shift+1
    2nd Style                          : Ctrl+Shift+2
    3rd Style                          : Ctrl+Shift+3
    4th Style                          : Ctrl+Shift+4
    5th Style                          : Ctrl+Shift+5
    Find Style                         : Ctrl+Shift+0
    1st Style                          : Ctrl+1
    2nd Style                          : Ctrl+2
    3rd Style                          : Ctrl+3
    4th Style                          : Ctrl+4
    5th Style                          : Ctrl+5
    Find Style                         : Ctrl+0
    Toggle Bookmark                    : Ctrl+F2
    Next Bookmark                      : F2
    Previous Bookmark                  : Shift+F2
    Toggle Full Screen Mode            : F11
    Post-It                            : F12
    1st Tab                            : Ctrl+Numpad 1
    2nd Tab                            : Ctrl+Numpad 2
    3rd Tab                            : Ctrl+Numpad 3
    4th Tab                            : Ctrl+Numpad 4
    5th Tab                            : Ctrl+Numpad 5
    6th Tab                            : Ctrl+Numpad 6
    7th Tab                            : Ctrl+Numpad 7
    8th Tab                            : Ctrl+Numpad 8
    9th Tab                            : Ctrl+Numpad 9
    Next Tab                           : Ctrl+Page down
    Previous Tab                       : Ctrl+Page up
    Move Tab Forward                   : Ctrl+Shift+Page down
    Move Tab Backward                  : Ctrl+Shift+Page up
    Switch to previous document        : Ctrl+Shift+Tab
    Switch to next document            : Ctrl+Tab
    Hide Lines                         : Alt+H
    Focus on Another View              : F8
    Fold All                           : Alt+0
    Unfold All                         : Alt+Shift+0
    Collapse Current Level             : Ctrl+Alt+F
    Uncollapse Current Level           : Ctrl+Alt+Shift+F
    1                                  : Alt+1
    2                                  : Alt+2
    3                                  : Alt+3
    4                                  : Alt+4
    5                                  : Alt+5
    6                                  : Alt+6
    7                                  : Alt+7
    8                                  : Alt+8
    1                                  : Alt+Shift+1
    2                                  : Alt+Shift+2
    3                                  : Alt+Shift+3
    4                                  : Alt+Shift+4
    5                                  : Alt+Shift+5
    6                                  : Alt+Shift+6
    7                                  : Alt+Shift+7
    8                                  : Alt+Shift+8
    Text Direction RTL                 : Ctrl+Alt+R
    Text Direction LTR                 : Ctrl+Alt+L
    Toggle macro record                : Ctrl+Shift+R
    Playback                           : Ctrl+Shift+P
    Run...                             : F5
    About Notepad++                    : F1
    Trim Trailing Space and Save       : Alt+Shift+S
    Trim Trailing Space and Save       : Alt+F1
    SCI_CUT                            : Ctrl+X or Shift+DEL
    SCI_COPY                           : Ctrl+C or Ctrl+INS
    SCI_PASTE                          : Ctrl+V or Shift+INS
    SCI_SELECTALL                      : Ctrl+A
    SCI_CLEAR                          : DEL
    SCI_UNDO                           : Ctrl+Z or Alt+Backspace
    SCI_REDO                           : Ctrl+Y or Ctrl+Shift+Z
    SCI_NEWLINE                        : Enter or Shift+Enter
    SCI_TAB                            : Tab
    SCI_BACKTAB                        : Shift+Tab
    SCI_ZOOMIN                         : Ctrl+Num +
    SCI_ZOOMOUT                        : Ctrl+Num -
    SCI_SETZOOM                        : Ctrl+Num /
    SCI_SELECTIONDUPLICATE             : Ctrl+D
    SCI_EDITTOGGLEOVERTYPE             : INS
    SCI_LINEDOWN                       : Down
    SCI_LINEDOWNEXTEND                 : Shift+Down
    SCI_LINEDOWNRECTEXTEND             : Alt+Shift+Down
    SCI_LINESCROLLDOWN                 : Ctrl+Down
    SCI_LINEUP                         : Up
    SCI_LINEUPEXTEND                   : Shift+Up
    SCI_LINEUPRECTEXTEND               : Alt+Shift+Up
    SCI_LINESCROLLUP                   : Ctrl+Up
    SCI_PARADOWN                       : Ctrl+]
    SCI_PARADOWNEXTEND                 : Ctrl+Shift+]
    SCI_PARAUP                         : Ctrl+[~~~
    A 1 Reply Last reply Aug 15, 2019, 6:31 PM Reply Quote 1
    • A
      Alan Kilborn @Alan Kilborn
      last edited by Aug 15, 2019, 6:31 PM

      Hmmm, well there seems to be some gremlins in the machinery in the above script/listing, as Trim Trailing Space and Save is listed twice (the second appearance it is tied to Get PHP help’s default keycombo), and the default Run commands of Get PHP help, Wikipedia Search, and Open file in another instance don’t appear at all… :(

      E 1 Reply Last reply Aug 15, 2019, 6:50 PM Reply Quote 1
      • E
        Ekopalypse @Alan Kilborn
        last edited by Ekopalypse Aug 15, 2019, 6:50 PM Aug 15, 2019, 6:50 PM

        @Alan-Kilborn

        looks like a timing issue, seems that user32.keybd_event returns to fast.
        Put a time.sleep(.1) after the second user32.keybd_event and it should be ok.

        A 1 Reply Last reply Aug 15, 2019, 7:03 PM Reply Quote 2
        • A
          Alan Kilborn @Ekopalypse
          last edited by Aug 15, 2019, 7:03 PM

          @Ekopalypse

          Yes, with that addition it appears OK. Once again, hopefully a correct Notepad++ 7.7.1 default keymapping list is:

          New                                : Ctrl+N
          Open...                            : Ctrl+O
          Reload from Disk                   : Ctrl+R
          Save                               : Ctrl+S
          Save As...                         : Ctrl+Alt+S
          Save All                           : Ctrl+Shift+S
          Close                              : Ctrl+W
          Close All                          : Ctrl+Shift+W
          Print...                           : Ctrl+P
          Exit                               : Alt+F4
          Restore Recent Closed File         : Ctrl+Shift+T
          UPPERCASE                          : Ctrl+Shift+U
          lowercase                          : Ctrl+U
          Proper Case                        : Alt+U
          Proper Case (blend)                : Alt+Shift+U
          Sentence case                      : Ctrl+Alt+U
          Sentence case (blend)              : Ctrl+Alt+Shift+U
          Split Lines                        : Ctrl+I
          Join Lines                         : Ctrl+J
          Move Up Current Line               : Ctrl+Shift+Up
          Move Down Current Line             : Ctrl+Shift+Down
          Insert Blank Line Above Current    : Ctrl+Alt+Enter
          Insert Blank Line Below Current    : Ctrl+Alt+Shift+Enter
          Toggle Single Line Comment         : Ctrl+Q
          Single Line Comment                : Ctrl+K
          Single Line Uncomment              : Ctrl+Shift+K
          Block Comment                      : Ctrl+Shift+Q
          Function Completion                : Ctrl+Spacebar
          Path Completion                    : Ctrl+Alt+Spacebar
          Word Completion                    : Ctrl+Enter
          Function Parameters Hint           : Ctrl+Shift+Spacebar
          Column Editor...                   : Alt+C
          Find...                            : Ctrl+F
          Find in Files...                   : Ctrl+Shift+F
          Find Next                          : F3
          Find Previous                      : Shift+F3
          Select and Find Next               : Ctrl+F3
          Select and Find Previous           : Ctrl+Shift+F3
          Find (Volatile) Next               : Ctrl+Alt+F3
          Find (Volatile) Previous           : Ctrl+Alt+Shift+F3
          Replace...                         : Ctrl+H
          Incremental Search                 : Ctrl+Alt+I
          Search Results Window              : F7
          Previous Search Result             : Shift+F4
          Next Search Result                 : F4
          Go to...                           : Ctrl+G
          Go to Matching Brace               : Ctrl+B
          Select All Between Matching Braces : Ctrl+Alt+B
          1st Style                          : Ctrl+Shift+1
          2nd Style                          : Ctrl+Shift+2
          3rd Style                          : Ctrl+Shift+3
          4th Style                          : Ctrl+Shift+4
          5th Style                          : Ctrl+Shift+5
          Find Style                         : Ctrl+Shift+0
          1st Style                          : Ctrl+1
          2nd Style                          : Ctrl+2
          3rd Style                          : Ctrl+3
          4th Style                          : Ctrl+4
          5th Style                          : Ctrl+5
          Find Style                         : Ctrl+0
          Toggle Bookmark                    : Ctrl+F2
          Next Bookmark                      : F2
          Previous Bookmark                  : Shift+F2
          Toggle Full Screen Mode            : F11
          Post-It                            : F12
          1st Tab                            : Ctrl+Numpad 1
          2nd Tab                            : Ctrl+Numpad 2
          3rd Tab                            : Ctrl+Numpad 3
          4th Tab                            : Ctrl+Numpad 4
          5th Tab                            : Ctrl+Numpad 5
          6th Tab                            : Ctrl+Numpad 6
          7th Tab                            : Ctrl+Numpad 7
          8th Tab                            : Ctrl+Numpad 8
          9th Tab                            : Ctrl+Numpad 9
          Next Tab                           : Ctrl+Page down
          Previous Tab                       : Ctrl+Page up
          Move Tab Forward                   : Ctrl+Shift+Page down
          Move Tab Backward                  : Ctrl+Shift+Page up
          Switch to previous document        : Ctrl+Shift+Tab
          Switch to next document            : Ctrl+Tab
          Hide Lines                         : Alt+H
          Focus on Another View              : F8
          Fold All                           : Alt+0
          Unfold All                         : Alt+Shift+0
          Collapse Current Level             : Ctrl+Alt+F
          Uncollapse Current Level           : Ctrl+Alt+Shift+F
          1                                  : Alt+1
          2                                  : Alt+2
          3                                  : Alt+3
          4                                  : Alt+4
          5                                  : Alt+5
          6                                  : Alt+6
          7                                  : Alt+7
          8                                  : Alt+8
          1                                  : Alt+Shift+1
          2                                  : Alt+Shift+2
          3                                  : Alt+Shift+3
          4                                  : Alt+Shift+4
          5                                  : Alt+Shift+5
          6                                  : Alt+Shift+6
          7                                  : Alt+Shift+7
          8                                  : Alt+Shift+8
          Text Direction RTL                 : Ctrl+Alt+R
          Text Direction LTR                 : Ctrl+Alt+L
          Toggle macro record                : Ctrl+Shift+R
          Playback                           : Ctrl+Shift+P
          Run...                             : F5
          About Notepad++                    : F1
          Trim Trailing Space and Save       : Alt+Shift+S
          Get PHP help                       : Alt+F1
          Wikipedia Search                   : Alt+F3
          Open file in another instance      : Alt+F6
          SCI_CUT                            : Ctrl+X or Shift+DEL
          SCI_COPY                           : Ctrl+C or Ctrl+INS
          SCI_PASTE                          : Ctrl+V or Shift+INS
          SCI_SELECTALL                      : Ctrl+A
          SCI_CLEAR                          : DEL
          SCI_UNDO                           : Ctrl+Z or Alt+Backspace
          SCI_REDO                           : Ctrl+Y or Ctrl+Shift+Z
          SCI_NEWLINE                        : Enter or Shift+Enter
          SCI_TAB                            : Tab
          SCI_BACKTAB                        : Shift+Tab
          SCI_ZOOMIN                         : Ctrl+Num +
          SCI_ZOOMOUT                        : Ctrl+Num -
          SCI_SETZOOM                        : Ctrl+Num /
          SCI_SELECTIONDUPLICATE             : Ctrl+D
          SCI_EDITTOGGLEOVERTYPE             : INS
          SCI_LINEDOWN                       : Down
          SCI_LINEDOWNEXTEND                 : Shift+Down
          SCI_LINEDOWNRECTEXTEND             : Alt+Shift+Down
          SCI_LINESCROLLDOWN                 : Ctrl+Down
          SCI_LINEUP                         : Up
          SCI_LINEUPEXTEND                   : Shift+Up
          SCI_LINEUPRECTEXTEND               : Alt+Shift+Up
          SCI_LINESCROLLUP                   : Ctrl+Up
          SCI_PARADOWN                       : Ctrl+]
          SCI_PARADOWNEXTEND                 : Ctrl+Shift+]
          SCI_PARAUP                         : Ctrl+[
          SCI_PARAUPEXTEND                   : Ctrl+Shift+[
          SCI_CHARLEFT                       : Left
          SCI_CHARLEFTEXTEND                 : Shift+Left
          SCI_CHARLEFTRECTEXTEND             : Alt+Shift+Left
          SCI_CHARRIGHT                      : Right
          SCI_CHARRIGHTEXTEND                : Shift+Right
          SCI_CHARRIGHTRECTEXTEND            : Alt+Shift+Right
          SCI_WORDLEFT                       : Ctrl+Left
          SCI_WORDLEFTEXTEND                 : Ctrl+Shift+Left
          SCI_WORDRIGHT                      : Ctrl+Right
          SCI_WORDRIGHTENDEXTEND             : Ctrl+Shift+Right
          SCI_WORDPARTLEFT                   : Ctrl+/
          SCI_WORDPARTLEFTEXTEND             : Ctrl+Shift+/
          SCI_WORDPARTRIGHT                  : Ctrl+\
          SCI_WORDPARTRIGHTEXTEND            : Ctrl+Shift+\
          SCI_HOMEDISPLAY                    : Alt+Home
          SCI_VCHOMEWRAPEXTEND               : Shift+Home
          SCI_VCHOMERECTEXTEND               : Alt+Shift+Home
          SCI_VCHOMEWRAP                     : Home
          SCI_LINEENDWRAPEXTEND              : Shift+End
          SCI_LINEENDRECTEXTEND              : Alt+Shift+End
          SCI_LINEENDDISPLAY                 : Alt+End
          SCI_LINEENDWRAP                    : End
          SCI_DOCUMENTSTART                  : Ctrl+Home
          SCI_DOCUMENTSTARTEXTEND            : Ctrl+Shift+Home
          SCI_DOCUMENTEND                    : Ctrl+End
          SCI_DOCUMENTENDEXTEND              : Ctrl+Shift+End
          SCI_PAGEUP                         : Page up
          SCI_PAGEUPEXTEND                   : Shift+Page up
          SCI_PAGEUPRECTEXTEND               : Alt+Shift+Page up
          SCI_PAGEDOWN                       : Page down
          SCI_PAGEDOWNEXTEND                 : Shift+Page down
          SCI_PAGEDOWNRECTEXTEND             : Alt+Shift+Page down
          SCI_DELETEBACK                     : Backspace or Shift+Backspace
          SCI_DELWORDLEFT                    : Ctrl+Backspace
          SCI_DELWORDRIGHT                   : Ctrl+DEL
          SCI_DELLINELEFT                    : Ctrl+Shift+Backspace
          SCI_DELLINERIGHT                   : Ctrl+Shift+DEL
          SCI_LINEDELETE                     : Ctrl+Shift+L
          SCI_LINECUT                        : Ctrl+L
          SCI_LINECOPY                       : Ctrl+Shift+X
          SCI_LINETRANSPOSE                  : Ctrl+T
          SCI_CANCEL                         : Esc
          
          E 1 Reply Last reply Aug 15, 2019, 7:11 PM Reply Quote 3
          • E
            Ekopalypse @Alan Kilborn
            last edited by Aug 15, 2019, 7:11 PM

            @Alan-Kilborn

            looped it 500 times and returned always with the same 181 defined shortcuts
            but who knows how this runs on a much slower or faster machine than mine??
            I haven’t digged deeper if there is another way to switch the tabs then simulating the tab key event, preferable via winapi, but I guess adjusting a timer shouldn’t be an issue.

            1 Reply Last reply Reply Quote 2
            • Sudeep TamrakarS
              Sudeep Tamrakar
              last edited by Dec 10, 2019, 3:53 PM

              Thanks. I’ve also found virtual typing keyboard and its shortcut keys. Check and let me know whether it may help you,

              1 Reply Last reply Reply Quote -1
              • GubithG
                Gubith
                last edited by Jan 21, 2020, 7:01 PM

                I wanted to use command ID for context menu commands.

                Partial, discombobulated list: https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/PowerEditor/src/menuCmdID.h#L40

                NppUISpy: Does not list all the commands to a file, but does have all the info needed to make such a list.

                I just wanted to add a context menu, I did not want to do research.

                Gregory GG 1 Reply Last reply Mar 19, 2021, 9:27 PM Reply Quote 0
                • Gregory GG
                  Gregory G @Gubith
                  last edited by Mar 19, 2021, 9:27 PM

                  @Gubith I see this thread is old. But I found it useful. I used one of the python scripts above to generate the list. {thanks!} Then I imported the output into Excel. I added three functions there.

                  Column A
                  Function description
                  Column B
                  Shortcut key
                  Column C Control Combination
                  =IFERROR(LEFT(B2,FIND("^",SUBSTITUTE(B2,"+","^",LEN(B2)-LEN(SUBSTITUTE(B2,"+",""))))-1),"")	
                  Column D Key
                  =IFERROR(RIGHT(B2,LEN(B2)-(FIND("^",SUBSTITUTE(B2,"+","^",LEN(B2)-LEN(SUBSTITUTE(B2,"+","")))))),B2)	
                  Column E Type
                  =IF(LEN(D2)>1,"[Function]","[Alpha]")
                  

                  I’m played around with Python a little bit, but I knew I could whip this up with Excel much faster, plus alter the sort order at will when I was done. It allowed me to quickly find what keys I might grab to assign for my own functions. Such as sort by type, key, control. I realize I could all be done in Python, but I didn’t want to the the time to figure it out.

                  alt text

                  1 Reply Last reply Reply Quote 4
                  • Thomas KainradT
                    Thomas Kainrad
                    last edited by Thomas Kainrad Jun 14, 2021, 6:51 AM Jun 14, 2021, 6:50 AM

                    My project KeyCombiner now has a Notepad++ collection with all default bindings listed in Notepad++'s Shortcut Mapper. The table can be searched and filtered extensively. Also, the shortcuts are mapped onto a virtual keyboard for quick and efficient exploration: https://keycombiner.com/collections/notepad/

                    Notepad-plus-plus collection in KeyCombiner

                    Thanks, @Alan-Kilborn for your list in this thread. Most of the shortcuts in KeyCombiner’s table are from this list. I only added a couple of additional default bindings that I suppose were added recently. Hope this is useful for someone! It definitely helped me finding available combinations.

                    PENchanterP 1 Reply Last reply Sep 30, 2021, 5:38 PM Reply Quote 2
                    • TroshinDVT
                      TroshinDV
                      last edited by Jun 14, 2021, 6:32 PM

                      Screenshot_80.png
                      https://github.com/trdm/UICtrlDataSpy

                      A 1 Reply Last reply Jun 14, 2021, 10:52 PM Reply Quote 0
                      • A
                        Alan Kilborn @TroshinDV
                        last edited by Jun 14, 2021, 10:52 PM

                        @TroshinDV

                        It’s often said that “a picture is worth 10000 words”, but in your case I think you need some words to go along with the pic.

                        And probably, those words should be in English, as it seems like we have to keep reminding you.

                        I think if you don’t heed the advice, and keep posting, people are going to get absolutely nothing out of your posts.

                        1 Reply Last reply Reply Quote 0
                        • PENchanterP
                          PENchanter @Thomas Kainrad
                          last edited by Sep 30, 2021, 5:38 PM

                          Hi @Thomas-Kainrad ! Why does “keycombiner” require a pro subscriptioin in order to export your project? I saved the list to two pdfs (using display 100 entries), but would like the original export, if possible. THANK YOU for putting that together!! It looks pretty sharp! Take care.

                          Thomas KainradT A 2 Replies Last reply Oct 5, 2021, 4:40 PM Reply Quote 0
                          • Thomas KainradT
                            Thomas Kainrad @PENchanter
                            last edited by Oct 5, 2021, 4:40 PM

                            Hey @PENchanter! I am glad you liked KeyCombiner :)

                            It is an important piece in many people’s personal knowledge management stack. Therefore, it is essential that it exists for many years to come. To make this possible, it has to be sustainable and charge a very small amount for advanced features. With the Pro subscription, you would get much more than just collection export.

                            However, if you just want the Notepad++ collection as a CSV, write a mail to KeyCombiner support and I will send it to you.

                            1 Reply Last reply Reply Quote 0
                            • A
                              Alan Kilborn @PENchanter
                              last edited by Oct 5, 2021, 5:24 PM

                              @PENchanter

                              I would certainly go with @Ekopalypse 's script approach in order to obtain the list of keyboard shortcuts, rather than paying any small amount of money to achieve it, but of course you are free to do as you like.

                              1 Reply Last reply Reply Quote 0
                              • A Alan Kilborn referenced this topic on Mar 20, 2022, 9:42 PM
                              • PeterJonesP PeterJones referenced this topic on Nov 15, 2022, 8:23 PM
                              • A Alan Kilborn referenced this topic on Mar 21, 2023, 5:14 PM
                              • First post
                                Last post
                              The Community of users of the Notepad++ text editor.
                              Powered by NodeBB | Contributors