MacOS – How to copy the current text line without highlighting it

copy/pastekeyboardmacosshortcuttext;

I find it annoying that I have to highlight a given piece of text and then press CMD +C to copy it into the buffer.

I want to be able to copy text by simply pressing CMD +C, which would copy the whole line on which my cursor is placed.

How do I accomplish this?

Best Answer

The closest to what you are looking for is triple-click on the line and CMD+C that highlights and copy the whole line.

On certain code editors a piece of text is copied just by highlighting it.