Search code examples
notepad++hotkeys

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


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?


Solution

  • Ctrl + L cuts the current line

    and

    Ctrl + Shift + L removes the current line.

    You can see and change hotkeys in Settings > Shortcut Mapper... > Scintilla Commands. Look for SCI_LINEDELETE and SCI_LINECUT.

    The version of my Notepad++ is 6.1.1.