When notepad++ autocomplets brackets/tags I always have to hit END or overtype the auto inserted characters in order to get to the next line.
Is there a more handy way of going into the next line: like CTRL+Return in some IDEs?
typing <p>abc
results in: (with autocomplete)
<p>abc|</p>
But the cursor |
is before the closing tag. Is the combination END+Return the only way to go to the next line, beside (over)typing the whole closing tag?
Best Answer
You need to use a third-party product such as AutoHotkey.
To map in Notepad++ the keys Ctrl+Enter to End+Enter, you could use a AutoHotkey script such as:
After installing AutoHotKey, put the script in a
.ahk
file and double-click it to test. You may stop the script by right-click on the green H icon in the traybar and choosing Exit. To have it run on login, place it in the Startup group atC:\Users\USER-NAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
.Useful AutoHotkey documentation: