Thursday 7 December 2017

keyboard shortcuts - How do I make Notepad++ delete lines like Eclipse does?


Eclipse has a keyboard shortcut which deletes either the current line (if nothing is selected) or all lines which are part of the currently selected text: Ctrl+D.


Is there a way to make Ctrl+D do the same thing in Notepad++?


The best I could do is remap the shortcut to Scintilla's SCI_LINE_DELETE, but that only deletes one line at a time, even if the selection spans multiple lines.



Answer



Ctrl + Shift + L will achieve the same effect.


Ctrl + L will delete the line but will also keep it in your clipboard replacing clipboard contents.


I'm not sure if you can map Ctrl+D to do the same thing or not. I've not really messed with the keyboard mappings with Notepad++ since they are very similar to those of Visual Studio


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...