# Keystrokes

Keystrokes: Keyboard Shortcuts at the Prompt, Predictions and History, Fully Used.

Updated: November 10, 2026

1. [Keyboard Shortcuts at the Prompt](https://www.ask-codey.com/lessons/powershell-keyboard-shortcuts) (Apprentice): Home and End jump to either end of the command line, Ctrl+Left and Ctrl+Right move a word at a time, Ctrl+Backspace deletes a word, Ctrl+Z undoes an edit, Esc clears the line, and Ctrl+Space shows every choice that fits where you're typing.
2. [Predictions and History, Fully Used](https://www.ask-codey.com/lessons/powershell-predictions) (Journeyman): Set-PSReadLineOption makes the prediction list your standard view and lets PSReadLine remember 10000 commands instead of 4096, # and Tab bring back a command from this window by a word or its number, and Select-String finds every match in the saved history file at once.

Source: https://www.ask-codey.com/courses/powershell-in-depth/topics/powershell-keystrokes
