Keyboard shortcut to select current line

Describe your feature request
It would be nice if you could configure a keyboard shortcut to select the entire line the cursor is currently on.

What problem(s) would this feature solve?
I have to move to my mouse to click on the line number or END, SHIFT+UP, Right arrow to select the whole line

Explain what you were trying to do when you came across the problem leading to this feature request
I tried to delete/replace an entire line by selection.

5 Likes

You can also triple-click on a line to select it.

4 Likes

You can use ⌘+ Left/Right arrow to move to the end of the line so you don’t need the mouse. Would be a handy shortcut though.

5 Likes

Replit implements most of VSCode’s shortcuts

Current line
Delete CtrlK
Select CtrlL
4 Likes

I don’t want to touch my mouse though.

But I’m not bad enough to use Vim

1 Like

Oh man, that’s really useful.

Been using Home/End all the time for that.

3 Likes

SHIFT+DOWN Also works if your cursor is at the start of the line.

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.