How to delete the current line and add a new line in Notepad++?

linjuming picture linjuming · Jan 13, 2013 · Viewed 45.1k times · Source

How to delete the current line and add a new line in Notepad++?

These two operations are very common but I can't find any key setting how to do them in Notepad++. Can any plugin do this job?

Answer

Gang Yin picture Gang Yin · Jan 13, 2013

Ctrl + L shall be able to cut the current line and Ctrl + Shift + L shall be able to remove the current line.

You can see and change hotkeys in Settings > Shortcut Mapper... > Scintilla Commands.

The version of my Notepad++ is 6.1.1.