Skip to main content
This page lists all keyboard shortcuts available in the PowerShell environment, including FZF integrations and PSReadLine enhancements.

FZF Interactive Shortcuts

These shortcuts provide fuzzy-finding capabilities powered by FZF with live previews. Search through your command history interactively.
# Press Ctrl+R and start typing to search
# Navigate with arrow keys
# Press Enter to execute the selected command
Features:
  • Fuzzy search across entire command history
  • Shows up to 10,000 recent commands
  • Real-time filtering as you type
  • Vesper theme color scheme

Ctrl+T - File Picker

Interactively select files with live preview.
# Press Ctrl+T to open file picker
# Type to filter files
# Preview shows file contents with bat
# Press Enter to insert file path
Features:
  • Searches all files recursively using fd
  • Excludes .git directories automatically
  • Includes hidden files
  • Preview shows syntax-highlighted content (first 300 lines)
The file picker uses fd for fast file discovery and bat for syntax-highlighted previews.

Alt+C - Directory Picker

Navigate to directories quickly with preview.
# Press Alt+C to open directory picker
# Type to filter directories
# Preview shows directory tree
# Press Enter to change to selected directory
Features:
  • Searches all directories recursively
  • Excludes .git directories
  • Preview shows 2-level tree with icons (eza)
  • Changes directory on selection

FZF Preview Controls

ShortcutAction
Ctrl+/Toggle preview pane on/off
Up/DownNavigate results
EnterSelect item
EscCancel and close FZF

PSReadLine Shortcuts

These shortcuts enhance command-line editing and navigation.

History Navigation

ShortcutAction
Up ArrowSearch history backward (matches current input)
Down ArrowSearch history forward (matches current input)
Ctrl+RInteractive history search (FZF)
History Search Behavior:
# Type "git" and press Up Arrow
# Cycles through commands starting with "git"
# Press Down Arrow to go forward

Editing Shortcuts

ShortcutAction
Ctrl+DDelete character under cursor
Ctrl+AMove to start of line
Ctrl+EMove to end of line
Ctrl+KDelete from cursor to end of line
Ctrl+UDelete from cursor to start of line
Ctrl+WDelete previous word

Auto-Completion

ShortcutAction
TabCycle through completions
Shift+TabCycle backwards through completions
Ctrl+SpaceShow all completions
Predictive IntelliSense is enabled, showing suggestions from history as you type. Press Right Arrow to accept suggestions.

Terminal Shortcuts

These are standard terminal shortcuts that work in WezTerm and Windows Terminal.
ShortcutAction
Ctrl+CCancel current command
Ctrl+LClear screen
Ctrl+DExit PowerShell (if line is empty)

Custom Function Shortcuts

ShortcutEquivalent CommandDescription
~Set-Location $HOMEGo to home directory
..Set-Location ..Go up one level
...Set-Location ..\..\ Go up two levels
-Go to previous directoryReturn to last location

FZF Vesper Theme

All FZF shortcuts use the Vesper color scheme:
ElementColor
BackgroundDark charcoal (#101010)
SelectionSlightly lighter (#232323)
ForegroundMuted gray (#b0b0b0)
HighlightWarm orange (#FFC799)
SecondaryGold/amber (#FFCFA8)
To customize FZF colors, edit the $env:FZF_DEFAULT_OPTS variable in conf.d/30-tools.ps1.

Tips & Tricks

Combining Shortcuts

# Use Ctrl+T to pick a file, then edit with default editor
# 1. Press Ctrl+T
# 2. Select file
# 3. Type: & $env:EDITOR and the path will be inserted

# Use Alt+C to navigate, then list contents
# 1. Press Alt+C
# 2. Select directory
# 3. Type: ll

History Search Tips

# Start typing part of a command
git com
# Press Up Arrow - cycles through "git commit", "git commit -m", etc.

# For fuzzy search, use Ctrl+R instead
# Finds commands containing your search anywhere in the line

Build docs developers (and LLMs) love