I saw this same question for VIM and it has been something that I myself wanted to know how to do for Emacs. In ReSharper I use CTRL-D for this action. What is the least num
I cannot believe all these complicated solutions. This is two keystrokes:
runs the command kill-whole-line
C-/ runs the command undo
C-/
So C-/ to "copy" a whole line (kill and undo).
You can, of course, combine this with numeric and negative args to kill multiple lines either forward or backward.