Terminal
View-only movement through a terminal's retained output. These keys are not delivered to the running program, except while a program owns the keyboard: one that has asked for enhanced key reporting (as Claude Code does), or one painting the full screen. Then the scroll chords go to that program. On a Mac, the scroll chords that use Cmd still scroll throng's view while a program has asked for enhanced key reporting: see macOS.
Scroll line up
Cog › Key Bindings › Terminal
terminal.scrollLineUp
Scroll the terminal view up by one line.
Default: Ctrl+Shift+ArrowUp · Scope: Terminal
Scroll line down
Cog › Key Bindings › Terminal
terminal.scrollLineDown
Scroll the terminal view down by one line.
Default: Ctrl+Shift+ArrowDown · Scope: Terminal
Scroll page up
Cog › Key Bindings › Terminal
terminal.scrollPageUp
Scroll the terminal view up by one screen.
Default: Shift+PageUp · Scope: Terminal
Scroll page down
Cog › Key Bindings › Terminal
terminal.scrollPageDown
Scroll the terminal view down by one screen.
Default: Shift+PageDown · Scope: Terminal
Scroll to top
Cog › Key Bindings › Terminal
terminal.scrollToTop
Jump to the oldest retained line of scrollback.
Default: Ctrl+Home · Scope: Terminal
Scroll to bottom
Cog › Key Bindings › Terminal
terminal.scrollToBottom
Jump to the newest output and resume following it.
Default: Ctrl+End · Scope: Terminal
Refresh / redraw terminal
Cog › Key Bindings › Terminal
terminal.redraw
Ask the running program to redraw its screen. Changes no content, scrollback, selection or layout.
Default: Ctrl+F5 · Scope: Terminal
Ask the running program to redraw its screen. Changes no content, scrollback, selection or layout. Bare F5 is left to the program.
Remember the last running command
Cog › Key Bindings › Terminal
terminal.toggleRememberCommand
Turn on or off whether the focused terminal saves its running command at exit. Unbound by default.
Default: (unbound) · Scope: Terminal
Turn on or off whether the focused terminal saves the command running when it ends as its startup command. The terminal keeps running.
Reopen in the last directory
Cog › Key Bindings › Terminal
terminal.toggleRememberDirectory
Turn on or off whether the focused terminal reopens in its last folder. Unbound by default.
Default: (unbound) · Scope: Terminal
Turn on or off whether the focused terminal reopens in the folder it was last working in.
Terminal notifications
Cog › Key Bindings › Terminal
terminal.toggleNotifications
Turn on or off whether the focused terminal can raise marks and notifications. Unbound by default.
Default: (unbound) · Scope: Terminal
Turn on or off whether the focused terminal can raise attention marks, pop-ups and desktop notifications.
The last three are the toggles at the right of a terminal's status bar, which are also in its right-click menu.
Shift+Enter and Ctrl+Enter at a PowerShell prompt need Windows 11 or later (build 22000 and up). They
insert a line break and move to the >> continuation line only where the Windows console host asks for
Windows key events (win32-input-mode), which those builds' consoles do. The console of Windows 10 and Windows
Server 2022 never asks, and a terminal has no other way to tell PowerShell that Enter was modified. There, the line break
is inserted, but the next characters you type can land on the wrong line. Finish a multi-line command with
a backtick (`) at the end of each line instead.