By default, Ctrl+PageUp and Ctrl+PageDown combinations in Visual Studio Code switch view to the next/previous tab. I would like to reconfigure them so they work like in Visual Studio, so they navigate to the top/bottom of the screen.
I am trying to modify the editor's keybindings (keybindings.json) but I find myself unable to find proper commands.
So far, I have found:
- cursorTop/cursorBottom - moves cursor to the top/bottom of the whole file
- scrollLineUp/scrollLineDown - scrolls the view, but does not change cursor's position
- scrollPageDown/scrollPageUp - moves the view one page down/up, but does not change the cursor's position
I have tried Visual Studio Keymap (https://marketplace.visualstudio.com/items?itemName=ms-vscode.vs-keybindings) extension, but it also does not provide the required functionality.
See Question&Answers more detail:os