Duplicate selection command


Now command-shift-d keybinding used for duplicate current line. It will be nice to extend this functionality to duplicate line/selection.


+1. I am missing this feature a lot.


I’m looking for this command too


Just wanted to +1 this as well!


+1. Duplicate Line should just be Duplicate Selection. Who cares about one line when Duplicate Selection could default to the current line.


Not sure about the quality yet, but I’m finding it generally familiar and useful. I may get around to properly publishing this, but for now: https://github.com/pvande/atom-duplicate


+1 - agreed

no selection == line; otherwise duplicate selection.


Made a package for this: