Duplicate selection command


#1

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


#2

+1. I am missing this feature a lot.


#3

I’m looking for this command too


#4

Just wanted to +1 this as well!


#5

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


#6

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


#7

+1 - agreed

no selection == line; otherwise duplicate selection.


#8

Made a package for this: