vr8ce
vr8ce

Reputation: 544

Does VSCode have a key/command to move cursor to first/last line of screen?

(Running 1.21.1 on OS X 10.12.6)

I found a reference to this ability elsewhere on SO, but the keystroke given scrolls the screen up/down one line, it doesn't move the cursor to the top/bottom of the screen. Maybe it's different on Windows than Mac?

I've searched for "top" or "first" or "screen" in both Keyboard Shortcuts and the keybindings file itself, but I don't see anything.

I'm either missing something (probable), or I'm not searching for the right words. What is the key and/or command for this?

Upvotes: 6

Views: 3724

Answers (2)

Lucien
Lucien

Reputation: 156

In Windows the default keybindings are CtrlHome and CtrlEnd.

The Command are cursorTop and cursorBottom. I am not sure in OSX, but the command should be the same.

Upvotes: 7

karthikd70
karthikd70

Reputation: 1

In visual studio, ctrl + shift + page up / page down will move cursor to top and down of the screen with selection.

Upvotes: 0

Related Questions