Warp documentation
  • Getting Started
    • Quickstart Guide
    • What is Warp?
    • Supported shells
    • Migrate to Warp
    • Keyboard Shortcuts
    • Changelog
  • Agents
    • Warp AI
      • Agent Mode
  • Active AI
  • Generate
  • Voice
  • Terminal
    • Appearance
      • Themes
      • Custom Themes
      • Prompt
      • Input Position
      • Text, Fonts, & Cursor
      • Size, Opacity, & Blurring
      • Pane Dimming & Focus
      • Blocks Behavior
      • Tabs Behavior
      • App Icons
    • Blocks
      • Block Basics
      • Block Actions
      • Block Sharing
      • Block Find
      • Block Filtering
      • Background Blocks
      • Sticky Command Header
    • Modern Text Editing
      • Alias Expansion
      • Command Inspector
      • Syntax & Error Highlighting
      • Vim Keybindings
    • Command Entry
      • Command Corrections
      • Command Search
      • Command History
      • Synchronized Inputs
      • YAML Workflows
    • Command Completions
      • Completions
      • Autosuggestions
    • Command Palette
    • Session Management
      • Launch Configurations
      • Session Navigation
      • Session Restoration
    • Window Management
      • Global Hotkey
      • Tabs
      • Split Panes
    • Warpify
      • Subshells
      • SSH
    • More Features
      • Accessibility
      • Files, Links, & Scripts
      • Markdown Viewer
      • Working Directory
      • Smart-Select
      • Full-screen Apps
      • Notifications & Audible Bell
      • Settings Sync (Beta)
      • Quit Warning
      • URI Scheme
      • Linux
    • Comparisons
      • Performance
      • Terminal features
  • Integrations
  • Knowledge & Collaboration
    • Warp Drive
      • Notebooks
      • Workflows
      • Prompts
      • Environment Variables
      • Warp Drive on the Web
    • Model Context Protocol
    • Rules
    • Teams
    • Session Sharing
  • Privacy
    • Privacy
    • Secret Redaction
    • Network Log
  • Community
    • Refer a Friend & Earn Rewards
    • Warp Preview & Alpha Program
  • Support & Billing
    • Sending Feedback & Logs
    • Plans & Pricing
    • Updating Warp
    • Using Warp Offline
    • Logging out & Uninstalling
    • Known Issues
    • Troubleshooting Login Issues
    • Open Source Licenses
Powered by GitBook
On this page
  • How to use it
  • How to access it
  • How it works

Was this helpful?

  1. Terminal
  2. Modern Text Editing

Alias Expansion

Warp will automatically expand your aliases as you type in the input editor.

PreviousModern Text EditingNextCommand Inspector

Last updated 2 months ago

Was this helpful?

How to use it

When Alias Expansion is enabled, type an alias and then hit SPACE will expand the alias.

To insert a space without expanding an alias, the default keybinding is OPT-SPACE.

When Alias Expansion is enabled, type an alias and then hit SPACE will expand the alias.

To insert a space without expanding an alias, the default keybinding is ALT-SPACE.

When Alias Expansion is enabled, type an alias and then hit SPACE will expand the alias.

To insert a space without expanding an alias, the default keybinding is ALT-SPACE.

Aliases will not be expanded when the command in the expanded form is the same as the alias itself. e.g. if you have an alias ls='ls -G', ls will not be expanded in the input editor.

How to access it

Alias expansion is disabled by default. There are two ways to toggle this on and off:

  • From Settings: Navigate to Settings > Features > Editor and toggle “Expand aliases as you type”.

  • From the : Search for the “Enable/disable alias expansion” option and hit ENTER.

How it works

Command Palette
Alias Expansion Demo