公告
财富商城
积分规则
提问
发文
2019-03-11 13:45发布
啃猪蹄的小仙女
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?
Question #1 Ctrl + L or Ctrl + Alt + L as already answered
Question #2 Enter, will add a new empty line and align the cursor to previous
if you want to delete line you can use find replace feature with extended option in it like
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.
Settings > Shortcut Mapper... > Scintilla Commands
The version of my Notepad++ is 6.1.1.
Ctrl + L will cut the line.
Ctrl + Shift + L will delete the line (i.e. not copying it to clipboard).
Credits to @BobStein-VisiBone and @RyanGoldstein above.
Please note this works in more applications than just Notepad++!
最多设置5个标签!
Question #1 Ctrl + L or Ctrl + Alt + L as already answered
Question #2 Enter, will add a new empty line and align the cursor to previous
if you want to delete line you can use find replace feature with extended option in it like
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.
Ctrl + L will cut the line.
Ctrl + Shift + L will delete the line (i.e. not copying it to clipboard).
Credits to @BobStein-VisiBone and @RyanGoldstein above.
Please note this works in more applications than just Notepad++!