Scroll line up: the shortcut in both apps
On Windows it is usually Ctrl+Shift+↑ (2 of 3 apps). The table shows where each app agrees and where it differs.
| App | Mac | Windows | Linux |
|---|---|---|---|
| VS CodeScroll line up | CtrlPageUp | Ctrl↑ | Ctrl↑ |
| VS CodeScroll up (terminal) · Terminal focused | Cmd↑ | CtrlShift↑ | CtrlShift↑ |
| Windows TerminalScroll up a line | — | CtrlShift↑ | — |
How the apps compare
- Mac: Ctrl+PageUp in VS Code; Cmd+↑ in VS Code.
- Windows: Ctrl+Shift+↑ in VS Code and Windows Terminal; Ctrl+↑ in VS Code.
- Linux: Ctrl+↑ in VS Code; Ctrl+Shift+↑ in VS Code.
Where and when it works
- VS Code (Terminal focused).
Learn it by pressing it: VS Code shortcuts practice or Windows Terminal shortcuts practice.