This will give us the much-loved function originating from the Sublime Text days as Splitting the Selection into Lines which VSCode also adopted as the command "insertCursorAtEndOfEachLineSelected".
You must install the Notepad++ plugin LuaScript. Then, insert this code into startup.lua
.
npp.AddShortcut("Insert Cursor At End Of Selected Lines", "Ctrl+Shift+L", function () local cursors = {} editor:BeginUndoAction() for i = 0, editor.Selections - 1 do local firstLine, lastLine = editor:LineFromPosition(editor.SelectionNStart[i]), editor:LineFromPosition(editor.SelectionNEnd[i]) for line = firstLine, lastLine do cursors[#cursors + 1] = editor.LineEndPosition[line] end end editor:ClearSelections() for _, cursor in ipairs(cursors) do editor:AddSelection(cursor, cursor) end editor:EndUndoAction()end)