Ctrl-L deletes current line; I use this constantly.
Unfortunately, it also replaces the text that I have already copied. Is there another shortcut to delete an entire line, but not add the contents to my clipboard?
Click the line, connector, or shape that you want to delete, and then press Delete. Tip: If you want to delete multiple lines or connectors, select the first line, press and hold Ctrl while you select the other lines, and then press Delete.
Ctrl + Shift + L
You can swap this around in Macro - Modify Shortcut/Delete Macro - Scintilla commands, and then around line 90, there's ones for SCI_LINECUT
and SCI_LINEDELETE
By default Ctrl + Shift + L however you can change it to something like Shift + Del by going to the Settings menu, Shortcut Mapper, click on the Scintilla commands tab, scroll to command 90, "SCI_LINEDELETE" and adjust the shortcut from there. Valid as of Notepad++ 6.9.1. If it changes comment and I'll update my answer. You'd think people would answer with how to change a shortcut in a customizable editor?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With