notepad++scintilla

Why I cannot add 'Enter' for Scintilla commands in notepad++?


I accidentally removed Enter from the Scintilla commands, and looks like it cannot be added back - the Add button is grey that can't be clicked:

enter image description here


Solution

  • As far as I know there is no option in Notepad++ but you can edit the shortcuts.xml file to restore the original assignment.

    The XML file can be found in either of these locations:

    Open the file and empty the ScintillaKeys node:

    enter image description here

    should become:

    enter image description here

    Save the file and restart Notepad++. The shortcut for Enter should be restored.