Community
    • Login

    FAQ: List of Notepad++ key combinations, available for shortcuts

    Scheduled Pinned Locked Moved FAQ
    faqshortcut keyshortcut mappershortcut
    10 Posts 4 Posters 10.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.
    • guy038G
      guy038
      last edited by PeterJones

      Hi, All,

      Here is a table, below, which recapitulates all the key combinations to get available shortcuts in Notepad++ :

      • This table is mainly intended for French people but I both included the US and FR keyboard layouts, so just test !

      • The locations containing the letter x means that the corresponding shortcut is not available, as used by Windows OS itself

      • The locations containing the letter d means that the corresponding shortcut is already used, by default, by Notepad++

      • So, when a location is empty, the modifier key(s) and the corresponding key should form a valid N++ shortcut !


      For the US, FR and GB keyboard layouts, refer, respectively, to :

      https://en.wikipedia.org/wiki/QWERTY#/media/File:Qwerty.svg

      https://en.wikipedia.org/wiki/AZERTY#/media/File:Azerty_fr.svg

      https://en.wikipedia.org/wiki/Keyboard_layout#/media/File:ISO_keyboard_(105)_QWERTY_UK.svg

      And all the virtual keys codes can be obtained from :

      https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes


      I found out some keys, not listed in Settings > Shortcut Mapper..., which, however, can be used to form some valid shortcuts ! They are :

      •---------------•--------•-------------------•-------------------•---------•
      |               |  HEXA  |  Key DESCRIPTION  |  Key DESCRIPTION  | DECIMAL |
      |  VK key NAME  |        |                   |                   |         |
      |               |  code  |  ON US keyboard   |  On FR keyboard   |  code   |
      •---------------•--------•-------------------•-------------------•---------•
      |  VK_PAUSE     |  0x13  |  Break    Pause   |  Attn    Pause    |    19   |
      |               |        |                   |                   |         |
      |  VK_LWIN      |  0x5B  |  LEFT  Win key    |  LEFT  Win key    |    91   |
      |               |        |                   |                   |         |
      |  VK_RWIN      |  0x5C  |  RIGHT Win key    |  RIGHT Win key    |    92   |
      |               |        |                   |                   |         |
      |  VK_APPS      |  0x5D  |  MENU  Win key    |  MENU  Win key    |    93   |
      |               |        |                   |                   |         |
      |  VK_NUMLOCK   |  0x90  |  Num Lock         |  Verr Num         |   144   |
      |               |        |                   |                   |         |
      |  VK_SCROLL    |  0x91  |  Scroll Lock      |  Arrêt défil      |   145   |
      •---------------•--------•-------------------•-------------------•---------•
      
      • Just test the allowed combinations of the modifier keys ( Shift , Ctrl and Alt ) with these special keys ;-))

      Remarks :

      • However, even the allowed combinations with the VK_NUMLOCK key, are rather useless because it toggles the Num Lock status, too !

      • It is also important to note that the forbidden x locations, in tables below, were tested on a French keyboard with a Win XP SP3 system. So, further testing may be necessary, regarding your OS and/or your keyboard layout !

      • On the numeric keypad, most of the combinations with the 0 to 9 keys and the . key are forbidden :

        • All combinations, involving a Shift key, are reserved by the system

        • The Alt key, alone, is used for the Windows input methods Alt + nnn, Alt + 0nnn and Alt +++ hhhh

      • I wasn’t able to get a valid combination with the VK_SNAPSHOT virtual key ( the Print Screen key ) on my French keyboard

      • I had to split this table in four parts, as posts, on NodeBB, cannot have a size over 16,384 bytes, about !


      The first part concerns the moving keys, the delete keys, the enter keys, the space key and some system keys :

      •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------------------------------------------------------•----------------------------------------------------•
      |                  |  HEXA  |    Key DESCRIPTION    |    Key DESCRIPTION   |  Shortcut    |  DECIMAL  |  Key  |                Key  +  MODIFIER key(s)                |                                                    |
      |   VK key NAME    |        |                       |                      |              |           |       •-------•-------•-------•-------•-------•-------•-------•              Notes on FRENCH keyboard              |
      |                  |  code  |    ON US keyboard     |    On FR keyboard    | Mapper NAME  |   code    |  SOLE |   S   |   C   |   A   |  C+A  |  C+S  |  A+S  | C+A+S |                                                    |
      •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
      |  VK_NULL         |  0x00  |                       |                      |  None        |      0    |   x   |   x   |   x   |   x   |   x   |   x   |   x   |   x   |                                                    |
      |                  |  ....  |                       |                      |              |    ....   |       |       |       |       |       |       |       |       |                                                    |
      |  VK_CANCEL       |  0x03  |                       |                      |              |      3    |       |       |       |       |       |       |       |       |                                                    |
      |                  |  ....  |                       |                      |              |    ....   |       |       |       |       |       |       |       |       |                                                    |
      •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
      |  VK_BACK         |  0x08  |                       |                      |  Backspace   |      8    |   d   |   d   |   d   |   d   |       |   d   |       |       |                                                    |
      |  VK_TAB          |  0x09  |  Tab                  |                      |  Tab         |      9    |   d   |   d   |   d   |   x   |       |   d   |   x   |       |                                                    |
      |                  |  ....  |                       |                      |              |    ....   |       |       |       |       |       |       |       |       |                                                    |
      |  VK_CLEAR        |  0x0C  |                       |                      |              |     12    |       |       |       |       |       |       |       |       |                                                    |
      |  VK_RETURN       |  0x0D  |  Enter                |  Entrée / Entr       |  Enter       |     13    |   d   |   d   |   d   |       |   d   |       |       |   d   |                                                    |
      |                  |  ....  |                       |                      |              |    ....   |       |       |       |       |       |       |       |       |                                                    |
      |  VK_SHIFT        |  0x10  |                       |                      |              |     16    |   x   |   x   |   x   |   x   |   x   |   x   |   x   |   x   |                                                    |
      |  VK_CONTROL      |  0x11  |                       |                      |              |     17    |   x   |   x   |   x   |   x   |   x   |   x   |   x   |   x   |                                                    |
      |  VK_MENU         |  0x12  |                       |                      |              |     18    |   x   |   x   |   x   |   x   |   x   |   x   |   x   |   x   |                                                    |
      |  VK_PAUSE        |  0x13  |  Break    Pause       |  Attn    Pause       |  NOT listed  |     19    |       |       |   x   |       |   x   |   x   |       |   x   |  The shortcut must NOT contain the CTRL key        |
      |  VK_CAPITAL      |  0x14  |  Caps Lock            |                      |              |     20    |   x   |   x   |   x   |   x   |   x   |   x   |   x   |   x   |                                                    |
      |  VK_KANA         |  0x15  |                       |                      |              |     21    |       |       |       |       |       |       |       |       |                                                    |
      |  VK_HANGUL       |  0x16  |                       |                      |              |     22    |       |       |       |       |       |       |       |       |                                                    |
      |  VK_JUNJA        |  0x17  |                       |                      |              |     23    |       |       |       |       |       |       |       |       |                                                    |
      |  VK_FINAL        |  0x18  |                       |                      |              |     24    |       |       |       |       |       |       |       |       |                                                    |
      |  VK_HANJA        |  0x19  |                       |                      |              |     25    |       |       |       |       |       |       |       |       |                                                    |
      |  VK_KANJI        |  0x19  |                       |                      |              |     25    |       |       |       |       |       |       |       |       |                                                    |
      |                  |  0x1A  |                       |                      |              |     26    |       |       |       |       |       |       |       |       |                                                    |
      |  VK_ESCAPE       |  0x1B  |  Esc                  |  Echap               |  Esc         |     27    |   d   |       |   x   |  x    |   x   |   x   |   x   |   X   |                                                    |
      |  VK_CONVERT      |  0x1C  |                       |                      |              |     28    |       |       |       |       |       |       |       |       |                                                    |
      |  VK_NONCONVERT   |  0x1D  |                       |                      |              |     29    |       |       |       |       |       |       |       |       |                                                    |
      |  VK_ACCEPT       |  0x1E  |                       |                      |              |     30    |       |       |       |       |       |       |       |       |                                                    |
      |  VK_MODECHANGE   |  0x1F  |                       |                      |              |     31    |       |       |       |       |       |       |       |       |                                                    |
      •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
      |  VK_SPACE        |  0x20  |  Spacebar             |                      |  Spacebar    |     32    |   x   |   x   |   d   |   x   |   d   |   d   |       |       |                                                    |
      |  VK_PRIOR        |  0x21  |  Page up              |                      |  Page up     |     33    |   d   |   d   |   d   |       |       |   d   |   d   |       |                                                    |
      |  VK_NEXT         |  0x22  |  Page down            |                      |  Page down   |     34    |   d   |   d   |   d   |       |       |   d   |   d   |       |                                                    |
      |  VK_END          |  0x23  |  End                  |  Fin                 |  End         |     35    |   d   |   d   |   d   |   d   |       |   d   |   d   |       |                                                    |
      |  VK_HOME         |  0x24  |  Home                 |                      |  Home        |     36    |   d   |   d   |   d   |   d   |       |   d   |   d   |       |                                                    |
      |  VK_LEFT         |  0x25  |                       |                      |  Left        |     37    |   d   |   d   |   d   |       |       |   d   |   d   |       |                                                    |
      |  VK_UP           |  0x26  |                       |                      |  Up          |     38    |   d   |   d   |   d   |       |       |   d   |   d   |       |                                                    |
      |  VK_RIGHT        |  0x27  |                       |                      |  Right       |     39    |   d   |   d   |   d   |       |       |   d   |   d   |       |                                                    |
      |  VK_DOWN         |  0x28  |                       |                      |  Down        |     40    |   d   |   d   |   d   |       |       |   d   |   d   |       |                                                    |
      |  VK_SELECT       |  0x29  |                       |                      |              |     41    |       |       |       |       |       |       |       |       |                                                    |
      |  VK_PRINT        |  0x2A  |                       |                      |              |     42    |       |       |       |       |       |       |       |       |                                                    |
      |  VK_EXECUTE      |  0x2B  |                       |                      |              |     43    |       |       |       |       |       |       |       |       |                                                    |
      |  VK_SNAPSHOT     |  0x2C  |  SysRq    Print Scrn  |  Syst    Impr écran  |  NOT listed  |     44    |   x   |   x   |   x   |   x   |   x   |   x   |   x   |   x   |  Key seems to be NOT active in N++                 |
      |  VK_INSERT       |  0x2D  |  Insert               |  Inser               |  INS         |     45    |   d   |   d   |   d   |       |       |       |       |       |                                                    |
      |  VK_DELETE       |  0x2E  |  Delete               |  Suppr               |  DEL         |     46    |   d   |   d   |   d   |       |   x   |   d   |       |       |                                                    |
      |  VK_HELP         |  0x2F  |                       |                      |              |     47    |       |       |       |       |       |       |       |       |                                                    |
      •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
      |                  |  HEXA  |    Key DESCRIPTION    |    Key DESCRIPTION   |  Shortcut    |  DECIMAL  |  Key  |   S   |   C   |   A   |  C+A  |  C+S  |  A+S  | C+A+S |                                                    |
      |   VK key NAME    |        |                       |                      |              |           |       •-------•-------•-------•-------•-------•-------•-------•              Notes on FRENCH keyboard              |
      |                  |  code  |    ON US keyboard     |    On FR keyboard    | Mapper NAME  |   code    |  SOLE |                Key  +  MODIFIER key(s)                |                                                    |
      •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------------------------------------------------------•----------------------------------------------------•
      

      •••

      1 Reply Last reply Reply Quote 2
      • guy038G
        guy038
        last edited by

        Hi, All,

        The second part concerns the alphabetic and numeric keys, as well as the Windows keys :

        •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------------------------------------------------------•----------------------------------------------------•
        |                  |  HEXA  |    Key DESCRIPTION    |    Key DESCRIPTION   |  Shortcut    |  DECIMAL  |  Key  |                Key  +  MODIFIER key(s)                |                                                    |
        |   VK key NAME    |        |                       |                      |              |           |       •-------•-------•-------•-------•-------•-------•-------•              Notes on FRENCH keyboard              |
        |                  |  code  |    ON US keyboard     |    On FR keyboard    | Mapper NAME  |   code    |  SOLE |   S   |   C   |   A   |  C+A  |  C+S  |  A+S  | C+A+S |                                                    |
        •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
        |  VK_0            |  0x30  |  0    )               |  à    0    @         |  0           |     48    |   x   |   x   |   d   |   d   |  [x]  |   d   |   d   |   x   |  IF use of C+A, hit the 'AltGr' key to get  @      |
        |  VK_1            |  0x31  |  1    !               |  &    1              |  1           |     49    |   x   |   x   |   d   |   d   |       |   d   |   d   |       |                                                    |
        |  VK_2            |  0x32  |  2    @               |  é    2    ~         |  2           |     50    |   x   |   x   |   d   |   d   |  [x]  |   d   |   d   |       |  IF use of C+A, hit the 'AltGr' key to get  ~      |
        |  VK_3            |  0x33  |  3    #               |  "    3    #         |  3           |     51    |   x   |   x   |   d   |   d   |  [x]  |   d   |   d   |       |  IF use of C+A, hit the 'AltGr' key to get  #      |
        |  VK_4            |  0x34  |  4    $               |  '    4    {         |  4           |     52    |   x   |   x   |   d   |   d   |  [x]  |   d   |   d   |       |  IF use of C+A, hit the 'AltGr' key to get  {      |
        |  VK_5            |  0x35  |  5    %               |  (    5    [         |  5           |     53    |   x   |   x   |   d   |   d   |  [x]  |   d   |   d   |       |  IF use of C+A, hit the 'AltGr' key to get  [      |
        |  VK_6            |  0x36  |  6    ^               |  -    6    |         |  6           |     54    |   x   |   x   |       |   d   |  [x]  |       |   d   |       |  IF use of C+A, hit the 'AltGr' key to get  |      |
        |  VK_7            |  0x37  |  7    &               |  è    7    `         |  7           |     55    |   x   |   x   |       |   d   |  [x]  |       |   d   |       |  IF use of C+A, hit the 'AltGr' key to get  `      |
        |  VK_8            |  0x38  |  8    *               |  _    8    \         |  8           |     56    |   x   |   x   |       |   d   |  [x]  |       |   d   |       |  IF use of C+A, hit the 'AltGr' key to get  \      |
        |  VK_9            |  0x39  |  9    (               |  ç    9    ^         |  9           |     57    |   x   |   x   |       |       |  [x]  |       |       |       |  IF use of C+A, hit the 'AltGr' key to get  ^      |
        •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
        |                  |  ....  |                       |                      |              |    ....   |       |       |       |       |       |       |       |       |                                                    |
        •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
        |  VK_A            |  0x41  |  A                    |  A                   |  A           |     65    |   x   |   x   |   d   |       |       |       |       |       |                                                    |
        |  VK_B            |  0x42  |  B                    |  B                   |  B           |     66    |   x   |   x   |   d   |       |   d   |       |       |       |                                                    |
        |  VK_C            |  0x43  |  C                    |  C                   |  C           |     67    |   x   |   x   |   d   |   d   |       |       |       |       |                                                    |
        |  VK_D            |  0x44  |  D                    |  D                   |  D           |     68    |   x   |   x   |   d   |       |       |       |       |       |                                                    |
        |  VK_E            |  0x45  |  E                    |  E         €         |  E           |     69    |   x   |   x   |       |       |  [x]  |       |       |       |  IF use of C+A, hit the 'AltGr' key to get  €      |
        |  VK_F            |  0x46  |  F                    |  F                   |  F           |     70    |   x   |   x   |   d   |       |   d   |   d   |       |   d   |                                                    |
        |  VK_G            |  0x47  |  G                    |  G                   |  G           |     71    |   x   |   x   |   d   |       |       |       |       |       |                                                    |
        |  VK_H            |  0x48  |  H                    |  H                   |  H           |     72    |   x   |   x   |   d   |   d   |       |       |       |       |                                                    |
        |  VK_I            |  0x49  |  I                    |  I                   |  I           |     73    |   x   |   x   |   d   |       |   d   |       |       |       |                                                    |
        |  VK_J            |  0x4A  |  J                    |  J                   |  J           |     74    |   x   |   x   |   d   |       |       |       |       |       |                                                    |
        |  VK_K            |  0x4B  |  K                    |  K                   |  K           |     75    |   x   |   x   |   d   |       |       |   d   |       |       |                                                    |
        |  VK_L            |  0x4C  |  L                    |  L                   |  L           |     76    |   x   |   x   |   d   |       |   d   |   d   |       |       |                                                    |
        |  VK_M            |  0x4D  |  M                    |  M                   |  M           |     77    |   x   |   x   |   d   |       |       |       |       |       |                                                    |
        |  VK_N            |  0x4E  |  N                    |  N                   |  N           |     78    |   x   |   x   |   d   |       |       |       |       |       |                                                    |
        |  VK_O            |  0x4F  |  O                    |  O                   |  O           |     79    |   x   |   x   |   d   |       |       |       |       |       |                                                    |
        |  VK_P            |  0x50  |  P                    |  P                   |  P           |     80    |   x   |   x   |   d   |       |       |   d   |       |       |                                                    |
        |  VK_Q            |  0x51  |  Q                    |  Q                   |  Q           |     81    |   x   |   x   |   d   |       |       |   d   |       |       |                                                    |
        |  VK_R            |  0x52  |  R                    |  R                   |  R           |     82    |   x   |   x   |   d   |       |   d   |   d   |       |       |                                                    |
        |  VK_S            |  0x53  |  S                    |  S                   |  S           |     83    |   x   |   x   |   d   |       |   d   |   d   |   d   |       |                                                    |
        |  VK_T            |  0x54  |  T                    |  T                   |  T           |     84    |   x   |   x   |   d   |       |       |   d   |       |       |                                                    |
        |  VK_U            |  0x55  |  U                    |  U                   |  U           |     85    |   x   |   x   |   d   |   d   |   d   |   d   |   d   |   d   |                                                    |
        |  VK_V            |  0x56  |  V                    |  V                   |  V           |     86    |   x   |   x   |   d   |       |       |       |       |       |                                                    |
        |  VK_W            |  0x57  |  W                    |  W                   |  W           |     87    |   x   |   x   |   d   |       |       |   d   |       |       |                                                    |
        |  VK_X            |  0x58  |  X                    |  X                   |  X           |     88    |   x   |   x   |   d   |       |       |   d   |       |       |                                                    |
        |  VK_Y            |  0x59  |  Y                    |  Y                   |  Y           |     89    |   x   |   x   |   d   |       |       |       |       |       |                                                    |
        |  VK_Z            |  0x5A  |  Z                    |  Z                   |  Z           |     90    |   x   |   x   |   d   |       |       |   d   |       |       |                                                    |
        •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
        |  VK_LWIN         |  0x5B  |  LEFT  Win key        |  LEFT  Win key       |  NOT listed  |     91    |   x   |       |       |       |       |       |       |       |                                                    |
        |  VK_RWIN         |  0x5C  |  RIGHT Win key        |  RIGHT Win key       |  NOT listed  |     92    |   x   |       |       |       |       |       |       |       |                                                    |
        |  VK_APPS         |  0x5D  |  MENU  Win key        |  MENU  Win key       |  NOT listed  |     93    |   x   |   x   |   x   |       |   x   |   x   |       |   x   |  The 'x' combinations trigger the CONTEXT menu !   |
        |                  |  ....  |                       |                      |              |    ....   |       |       |       |       |       |       |       |       |                                                    |
        |  VK_SLEEP        |  0x5F  |                       |                      |              |     95    |       |       |       |       |       |       |       |       |                                                    |
        •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
        |  VK_NUMPAD0      |  0x60  |  0     Ins            |  0   Inser           |  Numpad 0    |     96    |   x   |   x   |       |   x   |       |   x   |   x   |   x   |                                                    |
        |  VK_NUMPAD1      |  0x61  |  1     End            |  1   Fin             |  Numpad 1    |     97    |   x   |   x   |   d   |   x   |       |   x   |   x   |   x   |                                                    |
        |  VK_NUMPAD2      |  0x62  |  2                    |  2                   |  Numpad 2    |     98    |   x   |   x   |   d   |   x   |       |   x   |   x   |   x   |                                                    |
        |  VK_NUMPAD3      |  0x63  |  3     Pg Dn          |  3                   |  Numpad 3    |     99    |   x   |   x   |   d   |   x   |       |   x   |   x   |   x   |                                                    |
        |  VK_NUMPAD4      |  0x64  |  4                    |  4                   |  Numpad 4    |    100    |   x   |   x   |   d   |   x   |       |   x   |   x   |   x   |                                                    |
        |  VK_NUMPAD5      |  0x65  |  5                    |  5                   |  Numpad 5    |    101    |   x   |   x   |   d   |   x   |       |   x   |   x   |   x   |                                                    |
        |  VK_NUMPAD6      |  0x66  |  6                    |  6                   |  Numpad 6    |    102    |   x   |   x   |   d   |   x   |       |   x   |   x   |   x   |                                                    |
        |  VK_NUMPAD7      |  0x67  |  7     Home           |  7                   |  Numpad 7    |    103    |   x   |   x   |   d   |   x   |       |   x   |   x   |   x   |                                                    |
        |  VK_NUMPAD8      |  0x68  |  8                    |  8                   |  Numpad 8    |    104    |   x   |   x   |   d   |   x   |       |   x   |   x   |   x   |                                                    |
        |  VK_NUMPAD9      |  0x69  |  9     Pg Up          |  9                   |  Numpad 9    |    105    |   x   |   x   |   d   |   x   |       |   x   |   x   |   x   |                                                    |
        |  VK_MULTIPLY     |  0x6A  |  *                    |  *                   |  Num *       |    106    |   x   |       |       |       |       |       |       |       |                                                    |
        |  VK_ADD          |  0x6B  |  +                    |  +                   |  Num +       |    107    |   x   |       |   d   |   x   |       |       |       |       |                                                    |
        |  VK_SEPARATOR    |  0x6C  |                       |                      |              |    108    |       |       |       |       |       |       |       |       |                                                    |
        |  VK_SUBTRACT     |  0x6D  |  -                    |  -                   |  Num -       |    109    |   x   |       |   d   |       |       |       |       |       |                                                    |
        |  VK_DECIMAL      |  0x6E  |  .     Del            |  .   Suppr           |  Num .       |    110    |   x   |   x   |       |       |   x   |   x   |   x   |   x   |                                                    |
        |  VK_DIVIDE       |  0x6F  |  /                    |  /                   |  Num /       |    111    |   x   |       |   d   |       |       |       |       |       |                                                    |
        •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
        |                  |  HEXA  |    Key DESCRIPTION    |    Key DESCRIPTION   |  Shortcut    |  DECIMAL  |  Key  |   S   |   C   |   A   |  C+A  |  C+S  |  A+S  | C+A+S |                                                    |
        |   VK key NAME    |        |                       |                      |              |           |       •-------•-------•-------•-------•-------•-------•-------•              Notes on FRENCH keyboard              |
        |                  |  code  |    ON US keyboard     |    On FR keyboard    | Mapper NAME  |   code    |  SOLE |                Key  +  MODIFIER key(s)                |                                                    |
        •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------------------------------------------------------•----------------------------------------------------•
        

        •••

        1 Reply Last reply Reply Quote 1
        • guy038G
          guy038
          last edited by PeterJones

          Hi, All,

          The third part concerns the function keys, the OEM keys and some system keys :

          •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------------------------------------------------------•----------------------------------------------------•
          |                  |  HEXA  |    Key DESCRIPTION    |    Key DESCRIPTION   |  Shortcut    |  DECIMAL  |  Key  |                Key  +  MODIFIER key(s)                |                                                    |
          |   VK key NAME    |        |                       |                      |              |           |       •-------•-------•-------•-------•-------•-------•-------•              Notes on FRENCH keyboard              |
          |                  |  code  |    ON US keyboard     |    On FR keyboard    | Mapper NAME  |   code    |  SOLE |   S   |   C   |   A   |  C+A  |  C+S  |  A+S  | C+A+S |                                                    |
          •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
          |  VK_F1           |  0x70  |  F1                   |  F1                  |  F1          |    112    |   d   |       |       |   d   |  [x]  |       |       |       |  C+A ALLOWED if default WINDOWS shortcut NOT used  |
          |  VK_F2           |  0x71  |  F2                   |  F2                  |  F2          |    113    |   d   |   d   |   d   |       |  [x]  |       |       |       |  C+A ALLOWED if default WINDOWS shortcut NOT used  |
          |  VK_F3           |  0x72  |  F3                   |  F3                  |  F3          |    114    |   d   |   d   |   d   |   d   |   d   |   d   |       |   d   |  C+A ALLOWED if default WINDOWS shortcut NOT used  |
          |  VK_F4           |  0x73  |  F4                   |  F4                  |  F4          |    115    |   d   |   d   |       |   d   |  [x]  |       |       |       |  C+A ALLOWED if default WINDOWS shortcut NOT used  |
          |  VK_F5           |  0x74  |  F5                   |  F5                  |  F5          |    116    |   d   |       |       |       |  [x]  |       |       |       |  C+A ALLOWED if default WINDOWS shortcut NOT used  |
          |  VK_F6           |  0x75  |  F6                   |  F6                  |  F6          |    117    |       |       |       |   d   |  [x]  |       |       |       |  C+A ALLOWED if default WINDOWS shortcut NOT used  |
          |  VK_F7           |  0x76  |  F7                   |  F7                  |  F7          |    118    |   d   |       |       |       |  [x]  |       |       |       |  C+A ALLOWED if default WINDOWS shortcut NOT used  |
          |  VK_F8           |  0x77  |  F8                   |  F8                  |  F8          |    119    |   d   |       |       |       |  [x]  |       |       |       |  C+A ALLOWED if default WINDOWS shortcut NOT used  |
          |  VK_F9           |  0x78  |  F9                   |  F9                  |  F9          |    120    |       |       |       |       |  [x]  |       |       |       |  C+A ALLOWED if default WINDOWS shortcut NOT used  |
          |  VK_F10          |  0x79  |  F10                  |  F10                 |  F10         |    121    |   x   |       |       |       |  [x]  |       |       |       |  C+A ALLOWED if default WINDOWS shortcut NOT used  |
          |  VK_F11          |  0x7A  |  F11                  |  F11                 |  F11         |    122    |   d   |       |       |       |  [x]  |       |       |       |  C+A ALLOWED if default WINDOWS shortcut NOT used  |
          |  VK_F12          |  0x7B  |  F12                  |  F12                 |  F12         |    123    |   d   |       |       |       |  [x]  |       |       |       |  C+A ALLOWED if default WINDOWS shortcut NOT used  |
          •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
          |  VK_F13          |  0x7C  |  F13                  |                      |  F13         |    124    |       |       |       |       |       |       |       |       |                                                    |
          |  VK_F14          |  0x7D  |  F14                  |                      |  F14         |    125    |       |       |       |       |       |       |       |       |                                                    |
          |  VK_F15          |  0x7E  |  F15                  |                      |  F15         |    126    |       |       |       |       |       |       |       |       |                                                    |
          |  VK_F16          |  0x7F  |  F16                  |                      |  F16         |    127    |       |       |       |       |       |       |       |       |                                                    |
          |  VK_F17          |  0x80  |  F17                  |                      |  F17         |    128    |       |       |       |       |       |       |       |       |                                                    |
          |  VK_F18          |  0x81  |  F18                  |                      |  F18         |    129    |       |       |       |       |       |       |       |       |                                                    |
          |  VK_F19          |  0x82  |  F19                  |                      |  F19         |    130    |       |       |       |       |       |       |       |       |                                                    |
          |  VK_F20          |  0x83  |  F20                  |                      |  F20         |    131    |       |       |       |       |       |       |       |       |                                                    |
          |  VK_F21          |  0x84  |  F21                  |                      |  F21         |    132    |       |       |       |       |       |       |       |       |                                                    |
          |  VK_F22          |  0x85  |  F22                  |                      |  F22         |    133    |       |       |       |       |       |       |       |       |                                                    |
          |  VK_F23          |  0x86  |  F23                  |                      |  F23         |    134    |       |       |       |       |       |       |       |       |                                                    |
          |  VK_F24          |  0x87  |  F24                  |                      |  F24         |    135    |       |       |       |       |       |       |       |       |                                                    |
          •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
          |  VK_NUMLOCK      |  0x90  |  Num Lock             |  Verr Num            |  NOT listed  |    144    |   x   |       |   x   |       |       |       |   x   |       |  GOOD combinations toggle the 'Num Lock' status    |
          |  VK_SCROLL       |  0x91  |  Scroll Lock          |  Arrêt défil         |  NOT listed  |    145    |   x   |       |   x   |       |       |       |       |       |  GOOD combinations toggle the 'Scrn Lock' status   |
          •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
          |  VK_OEM_1        |  0xBA  |  ;    :               |  $    £    ¤         |  ;           |    186    |   x   |   x   |       |       |  [x]  |       |       |       |  IF use of C+A, hit the 'AltGr' key to get  ¤      |
          |  VK_OEM_PLUS     |  0xBB  |  =    +               |  =    +    }         |  =           |    187    |   x   |   x   |       |       |  [x]  |       |       |       |  IF use of C+A, hit the 'AltGr' key to get  }      |
          |  VK_OEM_COMMA    |  0xBC  |  ,    <               |  ,    ?              |  ,           |    188    |   x   |   x   |       |       |       |       |       |       |                                                    |
          |  VK_OEM_MINUS    |  0xBD  |  -    _               |  Key NOT found       |  -           |    189    |   x   |   x   |       |       |       |       |       |       |                                                    |
          |  VK_OEM_PERIOD   |  0xBE  |  .    >               |  ;    .              |  .           |    190    |   x   |   x   |       |       |       |       |       |       |                                                    |
          |  VK_OEM_2        |  0xBF  |  /    ?               |  :    /              |  /           |    191    |   x   |   x   |   d   |       |       |   d   |       |       |                                                    |
          |  VK_OEM_3        |  0xC0  |  `    ~               |  ù    %              |  ~           |    192    |   x   |   x   |       |       |       |       |       |       |                                                    |
          |                  |  ....  |                       |                      |              |    ....   |       |       |       |       |       |       |       |       |                                                    |
          |  VK_OEM_4        |  0xDB  |  [    {               |  )    °    ]         |  [           |    219    |   x   |   x   |   d   |       |  [x]  |   d   |       |       |  IF use of C+A, hit the 'AltGr' key to get  ]      |
          |  VK_OEM_5        |  0xDC  |  \    |               |  *    µ              |  \           |    220    |   x   |   x   |   d   |       |       |   d   |       |       |                                                    |
          |  VK_OEM_6        |  0xDD  |  ]    }               |  ^    ¨              |  ]           |    221    |   x   |   x   |   d   |       |       |   d   |       |       |                                                    |
          |  VK_OEM_7        |  0xDE  |  '    "               |  ²                   |  '           |    222    |   x   |       |       |       |       |       |       |       |                                                    |
          |  VK_OEM_8        |  0xDF  |                       |  !    §              |  NOT listed  |    223    |   x   |   x   |       |       |       |       |       |       |                                                    |
          |                  |  ....  |                       |                      |              |    ....   |       |       |       |       |       |       |       |       |                                                    |
          |  VK_OEM_102      |  0xE2  |                       |  <    >              |  <>          |    226    |   x   |   x   |       |       |       |       |       |       |                                                    |
          •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
          |                  |  HEXA  |    Key DESCRIPTION    |    Key DESCRIPTION   |  Shortcut    |  DECIMAL  |  Key  |   S   |   C   |   A   |  C+A  |  C+S  |  A+S  | C+A+S |                                                    |
          |   VK key NAME    |        |                       |                      |              |           |       •-------•-------•-------•-------•-------•-------•-------•              Notes on FRENCH keyboard              |
          |                  |  code  |    ON US keyboard     |    On FR keyboard    | Mapper NAME  |   code    |  SOLE |                Key  +  MODIFIER key(s)                |                                                    |
          •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------------------------------------------------------•----------------------------------------------------•
          

          (Note: F13-F24 were added to Shortcut Mapper in v8.6.9. Before that version, they were not available for mapping.)

          •••

          1 Reply Last reply Reply Quote 1
          • guy038G
            guy038
            last edited by

            Hi, all

            The last part contains the remaining virtual keys, not commonly used and not found on my French keyboard, anyway :

            •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------------------------------------------------------•----------------------------------------------------•
            |                  |  HEXA  |    Key DESCRIPTION    |    Key DESCRIPTION   |  Shortcut    |  DECIMAL  |  Key  |                Key  +  MODIFIER key(s)                |                                                    |
            |   VK key NAME    |        |                       |                      |              |           |       •-------•-------•-------•-------•-------•-------•-------•              Notes on FRENCH keyboard              |
            |                  |  code  |    ON US keyboard     |    On FR keyboard    | Mapper NAME  |   code    |  SOLE |   S   |   C   |   A   |  C+A  |  C+S  |  A+S  | C+A+S |                                                    |
            •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
            |                  |  ....  |                       |                      |              |    ....   |       |       |       |       |       |       |       |       |                                                    |
            |  VK_OEM_RESET    |  0xE9  |                       |                      |              |    233    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_OEM_JUMP     |  0xEA  |                       |                      |              |    234    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_OEM_PA1      |  0xEB  |                       |                      |              |    235    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_OEM_PA2      |  0xEC  |                       |                      |              |    236    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_OEM_PA3      |  0xED  |                       |                      |              |    237    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_OEM_WSCTRL   |  0xEE  |                       |                      |              |    238    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_OEM_CUSEL    |  0xEF  |                       |                      |              |    239    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_OEM_ATTN     |  0xF0  |                       |                      |              |    240    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_OEM_FINISH   |  0xF1  |                       |                      |              |    241    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_OEM_COPY     |  0xF2  |                       |                      |              |    242    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_OEM_AUTO     |  0xF3  |                       |                      |              |    243    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_OEM_ENLW     |  0xF4  |                       |                      |              |    244    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_OEM_BACKTAB  |  0xF5  |                       |                      |              |    245    |       |       |       |       |       |       |       |       |                                                    |
            •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
            |  VK_ATTN         |  0xF6  |                       |                      |              |    246    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_CRSEL        |  0xF7  |                       |                      |              |    247    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_EXSEL        |  0xF8  |                       |                      |              |    248    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_EREOF        |  0xF9  |                       |                      |              |    249    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_PLAY         |  0xFA  |                       |                      |              |    250    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_ZOOM         |  0xFB  |                       |                      |              |    251    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_NONAME       |  0xFC  |                       |                      |              |    252    |       |       |       |       |       |       |       |       |                                                    |
            |  VK_PA1          |  0xFD  |                       |                      |              |    253    |       |       |       |       |       |       |       |       |                                                    |
            •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
            |  VK_OEM_CLEAR    |  0xFE  |                       |                      |              |    254    |       |       |       |       |       |       |       |       |                                                    |
            |                  |  ....  |                       |                      |              |    ....   |       |       |       |       |       |       |       |       |                                                    |
            •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------•-------•-------•-------•-------•-------•-------•----------------------------------------------------•
            |                  |  HEXA  |    Key DESCRIPTION    |    Key DESCRIPTION   |  Shortcut    |  DECIMAL  |  Key  |   S   |   C   |   A   |  C+A  |  C+S  |  A+S  | C+A+S |                                                    |
            |   VK key NAME    |        |                       |                      |              |           |       •-------•-------•-------•-------•-------•-------•-------•              Notes on FRENCH keyboard              |
            |                  |  code  |    ON US keyboard     |    On FR keyboard    | Mapper NAME  |   code    |  SOLE |                Key  +  MODIFIER key(s)                |                                                    |
            •------------------•--------•-----------------------•----------------------•--------------•-----------•-------•-------------------------------------------------------•----------------------------------------------------•
            

            Best Regards,

            guy038

            dinkumoilD 1 Reply Last reply Reply Quote 2
            • PeterJonesP PeterJones moved this topic from General Discussion on
            • dinkumoilD
              dinkumoil @guy038
              last edited by PeterJones

              Moderator Note:
              I replicated the content of this “reply” from @dinkumoil’s 2019 post, because it has useful additional clarification regarding the scan codes and virtual key codes, as well as showing the mapping for the special keys on a standard German keyboard, as pictured at https://en.wikipedia.org/wiki/File:KB_Germany.svg . The owner of this reply was changed to @dinkumoil so that the correct user gets credit for its content.
              At the same time that I replicated that post, I also moved this Topic into the FAQ section, because it’s a useful reference for the available Shortcut Mapper entries._

              On all PC keyboards world wide, no matter of which locale, keys have the same scan codes depending on their physical position on the keyboard. The keyboard driver for a certain locale translates them (under Windows) into virtual key codes. That’s what applications see when they read keyboard input. These virtual key codes are translated into the actual glyphs of the characters (at the end of the day a bitmap image) when they are displayed on the screen.

              If the keyboard driver supports so called “dead keys” it waits for a second key press to compose them to a resulting character, e.g. all these â,ê,î,ô,û,… letters used in various european languages. This way there are not so much weird key combos to input these characters.

              Unfortunately, in the shortcut mapper of Notepad++ all this isn’t taken into account. The person who programmed the key selector has used a hard coded table for the mapping of physical keys to their character representation, which is wrong for most locales. I wasn’t able to figure out yet, which keyboard locale this person used as a basis for the mapping.

              This is the mapping table for german keyboards between the key list in Notepad++'s shortcut mapper and the physical keys:

              | Npp shortcut mapper |   German Keyboard    |
              |                     |---------+------------|
              |                     |  solo   | with SHIFT |
              |---------------------+---------+------------|
              |        ~            |  ö      |     Ö      |
              |        -            |  -      |     _      |
              |        =            |  +      |     *      |
              |        [            |  ß      |     ?      |
              |        ]            |  ´ (DK) |     ` (DK) |
              |        ;            |  ü      |     Ü      |
              |        '            |  ä      |     Ä      |
              |        \            |  ^ (DK) |     °      |
              |        ,            |  ,      |     ;      |
              |        .            |  .      |     :      |
              |        /            |  #      |     '      |
              |        <>           |  <      |     >      |
              

              (DK) marks dead keys.

              PeterJonesP 1 Reply Last reply Reply Quote 3
              • PeterJonesP
                PeterJones @dinkumoil
                last edited by PeterJones

                The website kbdlayout.info has pages that will allow you to look at the “Overview”, “Scancodes”, “Virtual keys”, and similar for various “standard” keyboard layouts throughout the computing world. And on any of the views, you can add a “Legend overlay” for the “scancodes” or “virtual keys”, so you can have multiple pieces of information.

                So to see the US, French, and German keyboards mentioned above, with their normal key contents with the legend overlay of the “virtual keys”,

                Keyboard Link
                US https://kbdlayout.info/KBDUS/overview+virtualkeys
                French https://kbdlayout.info/kbdfr/overview+virtualkeys
                German https://kbdlayout.info/kbdgr/overview+virtualkeys
                Portuguese https://kbdlayout.info/kbdbr/overview+virtualkeys

                If you have a different keyboard, you can explore kbdlayout.info to find the “overview + virtualkeys” for your keyboard, and use the virtualkeys to look up the appropriate entry from @guy038’s tables above to find the right Shortcut Mapper entries.

                The table in this post will be updated if new languages are added to the FAQ in additional posts below.

                If you’d like to propose a table like the ones below for another language, please make a new topic in the “Blog” or “General Discussion”, or reply to Topic that’s already talking about keyboard shortcuts on your language’s standard keyboard – and mention that you’d like to propose an addition to this keyboard-shortcuts FAQ. If it looks good, a FAQ moderator can make a copy of your post in this FAQ)

                notdodgeballN 1 Reply Last reply Reply Quote 1
                • mkupperM mkupper referenced this topic on
                • notdodgeballN
                  notdodgeball @PeterJones
                  last edited by PeterJones

                  Here the table for the Brazilian Portuguese layout (ABNT2) based on dinkumoil’s work:

                  |                     |   Pt/br Keyboard     |
                  | Npp shortcut mapper |---------+------------|--------------|--------------- |
                  |                     |  solo   | with SHIFT |  Virtual Key | KeyboardEvent  |
                  |---------------------+---------+------------|--------------|----------------|
                  |        ~            |  '      |    "       |  VK_OEM_3    |  Backquote     |
                  |        [            |  ´ (DK) |    ` (DK)  |  VK_OEM_4    |  BracketLeft   |
                  |        ]            |  [      |    {       |  VK_OEM_6    |  BracketRight  |
                  |        ;            |  ç      |    Ç       |  VK_OEM_1    |  Semicolon     |
                  |        '            |  ~ (DK) |    ^ (DK)  |  VK_OEM_7    |  Quote         |
                  |        \            |  ]      |    }       |  VK_OEM_5    |  Backslash     |
                  |        /            |  ;      |    :       |  VK_OEM_2    |  Slash         |
                  |        <>           |  \      |    |       |  VK_OEM_102  |  IntlBackslash |
                  |      Num .          |  Num ,  |    DEL     |  VK_DELETE   |  NumpadDecimal | *
                  |                     |  Num .  |            |  VK_ABNT_C2  |  NumpadComma   |
                  |                     |  /      |    ?       |  VK_ABNT_C1  |  IntlRo        |
                  
                  * Shortcuts using the Shift key don't work with the Numpad, are they being overridden by the driver?
                  

                  As a result, by using this layout one cannot bind commands to the / and Num . keys

                  ----
                  moderator duplicated this original post and assigned this new node to the original author, too; added link to ABNT2 keyboard

                  1 Reply Last reply Reply Quote 1
                  • OokerO Ooker referenced this topic on
                  • guy038G
                    guy038
                    last edited by guy038

                    This post is deleted!
                    PeterJonesP 1 Reply Last reply Reply Quote 1
                    • PeterJonesP
                      PeterJones @guy038
                      last edited by

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • guy038G guy038 referenced this topic on
                      • PeterJonesP PeterJones referenced this topic on
                      • PeterJonesP
                        PeterJones
                        last edited by

                        Update

                        As of Notepad++ v8.7.6 in January 2025, the Shortcut Mapper should now list the keys based on the keyboard layout that was active when you started Notepad++. You should no longer need this FAQ, unless you are choosing to use an older version of Notepad++.

                        1 Reply Last reply Reply Quote 2
                        • First post
                          Last post
                        The Community of users of the Notepad++ text editor.
                        Powered by NodeBB | Contributors