Cut and copy current line without selection at cursor position

Hello,
I would like to be able to cut and copy a line without first selecting the whole line like in Visual Studio Code or Sublime Text.

I know there is the "copy line below" function but I don't always want to copy the line below.

There's a stale request on Github but am wondering if this shortcut has been implemented.

Thanks

Not sure if this what you mean: If you're using the command Palette, Copy Lines Down (Ctrl +Shift + D) requires that you select the entire line, but if you use the keyboard shortcut Alt + Cmd + Up/Down, it does not; your cursor can be anywhere on the line.

Thanks for the reply. I just want to copy the entire line in the copy buffer because I want to paste it somewhere else. What you described is a very specific use of the copy line shortcut. Most editors let you copy the entire line without selecting it.

How is it possible that Rstudio cannot perform such simple operation that is standard in most text editors?!

Maybe you'll like Positron better. It works there.