Three ways that I know of:
triple click anywhere in the line
click line number in gutter
cmd+left move caret to start of the line, then cmd+shift+right
But 1 and 2 involve mouse clicking, 3 is a combo. Any real shortcut for selecting one line?
I will give a chance to ⌥+↑ It does not do the job at once, but in few clicks it can be very handy.
You can assign a keyboard shortcut to this action: Select Line at Caret.
Also note that Copy/Cut actions will work without any selection and will affect the whole line as if it was selected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With