'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?
Solution 1:[1]
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.
Solution 2:[2]
In visual studio, ctrl + shift + page up / page down will move cursor to top and down of the screen with selection.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | de-russification |
| Solution 2 | Arghya Sadhu |
