I want to assign the F2 button to delete the line where the cursor currently is in notepad++. How can I do that?
Asked
Active
Viewed 103 times
0
-
Doesn't Ctrl+L meet your needs? – Wiktor Stribiżew Jul 26 '16 at 12:39
-
Possible duplicate of [How to delete current line and add new line in Notepad++?](http://stackoverflow.com/questions/14299971/how-to-delete-current-line-and-add-new-line-in-notepad) – Wiktor Stribiżew Jul 26 '16 at 12:39
-
No, I want to assign that to F2. And it's not duplicate. – ergon Jul 26 '16 at 12:39
-
Have you tried Settings -> Shortcut Mapper... -> Scintilla Command? It's all there on my side – KABoissonneault Jul 26 '16 at 12:41
1 Answers
2
Go to Shortcut Mapper from Settings menu, then go to Scintilla commands find SCI_LINEDELETE and modify it to what you want.

Ammar
- 770
- 4
- 11