Open Paveljolak opened 2 weeks ago
@Paveljolak Thank you for the suggestion! I'm not sure that I understand: Are you looking to be able to place the cursor in a line and then cut the entire line with Ctrl-X without selecting the line?
This is a shortcut found in Visual Studio Code. Ctrl+X (Cmd+X on Mac) cuts the entire line if there is no selection.
@Paveljolak Thank you for the suggestion! I'm not sure that I understand: Are you looking to be able to place the cursor in a line and then cut the entire line with Ctrl-X without selecting the line?
Yes, exactly that.
This is a shortcut found in Visual Studio Code. Ctrl+X (Cmd+X on Mac) cuts the entire line if there is no selection.
Exactly as specified in this comment.
I am new to RStudio as we are using it for one of my CS courses that I have. As many different editors that I had used I tried cutting a full line without selecting it with CTRL+X. And nothing happend, I had to manually select the full line and then cut it. I tried looking for a solution or if the shortcut exists. I only found some issues already closed due to being "stale" or "inactive", but I don't think this feature exists.
It would be amazing if this feature could be added to RStudio, as it would make writing and editing in it much more faster and enjoyable.