Notepad++: disable enter key for auto-complete

In Settings -> Shortcut mapper -> Scintilla commands

Double click SCI_NEWLINE (should be item 9 in the list), select Enter and remove it.

------ EDIT -------

Note that you can't add Enter back after removing it in Notepad++. One way to add it back is open %appdata%\Notepad++\shortcuts.xml file, and change following lines:

<ScintillaKeys>
    <ScintKey ScintID="2329" menuCmdID="0" Ctrl="no" Alt="no" Shift="yes" Key="13" />
</ScintillaKeys>

to following:

<ScintillaKeys/>

save file and restarte NotePad++, and the setting should be restored.


I don't know how to disable it, but a workaround would be to hit Esc before Enter to close the suggestion pop-up in that special situation where you want to insert a new line instead of auto-completing.