Eclipse has a keyboard shortcut which deletes either the current line (if nothing is selected) or all lines which are part of the currently selected text: Ctrl+D.
Is there a way to make Ctrl+D do the same thing in Notepad++?
The best I could do is remap the shortcut to Scintilla's SCI_LINE_DELETE, but that only deletes one line at a time, even if the selection spans multiple lines.


Ctrl+Lis mapped to ... *edit* aha, it's mapped toSCI_LINECUT. That was literally the next Scintilla command belowSCI_LINE_DELETE. – Matt Ball Mar 16 '11 at 17:17Ctrl+Lwill cut the line (copy it into your clipboard). To actually delete the line isCtrl+Shift+L, this will delete the selected lines without overwriting your clipboard. – Rosdi Jan 11 '13 at 00:42SCI_LINEDELETEis whatCtrl+Shift+Lwas mapped to. I tried that but it only deleted (without copying to clipboard) the first of the selected lines, similar to OP. Am I missing something? – jinglesthula Apr 21 '16 at 15:13Edit > Line Operations– aliopi Nov 24 '17 at 07:03