If nothing is selected in the editor, and you press &shortcut:$Copy;, then the whole line at caret is copied to the clipboard.