Modern text editing overview
Unlike other terminals, Warp’s input editor operates out of the box like a modern IDE and the text editors we’re used to.
Warp's input editor works like a modern IDE text editor, with cursor movement, click-to-place, multi-line editing, copy-paste, word selection, and soft wrapping built in. Unlike traditional terminals, you can edit commands the same way you edit code — no memorizing shell-specific shortcuts required.
Text Editor Input also works for SSH sessions.
Soft wrapping
Warp supports soft wrapping in the input editor. If an autosuggestion goes off-screen, the input editor will be horizontally scrollable to make it visible. Some operations treat soft-wrapped lines like a logical line (TRIPLE-CLICK) while other operations treat soft wrapped lines like visible different lines (↑/↓, Shift+↑/Shift+↓).
Copy on select
Warp supports copy on select for selectable text within Blocks.
- Toggle this feature in Settings > Features > Terminal or search for "Copy on select" in the Command Palette.
Autocomplete quotes, parentheses, and brackets
Warp can automatically complete quotes, brackets, and parentheses like you're used to in IDEs.
- Toggle this feature in Settings > Features > Text Editing or search for "Autocomplete quotes" in the Command Palette.
How to use it
macOS
| Keyboard binding | Shortcut description |
|---|---|
Escape | Closes the input suggestions or history menu |
Ctrl+L | Clears the terminal |
Ctrl+H | Backspace |
Ctrl+C | Clear the entire editor buffer |
Ctrl+U | Copy and Clear the current line |
⌘+Shift+K | Clear selected lines |
⌘+C, ⌘+X, ⌘+V | Copy, cut, paste |
Ctrl+W / Option+D | Cut the word to the left / right of the cursor |
Option+Backspace / Option+Delete | Delete the word to the left / right of the cursor |
Ctrl+K | Cut everything to the right of the cursor (copies it to the clipboard) |
⌘+Delete | Delete everything to the right of the cursor (does not affect the clipboard) |
Option+← / Option+→ | Move to the beginning of the previous / next word |
Ctrl+Option+← / Ctrl+Option+→ | Move backward / forward by one subword |
⌘+← / Ctrl+A / Ctrl+E / ⌘+→ | Move the cursor to the start / end of the line |
Shift+← / Shift+→ | Select the character to the left / right of the cursor |
Option+Shift+← / Option+Shift+→ | Select the word to the left / right of the cursor |
⌘+Shift+← / ⌘+Shift+→ | Select to the start / end of the line |
Shift+↑ / Shift+↓ | Select everything above / below the cursor |
⌘+A | Select the entire editor buffer |
Shift+Enter Ctrl+Enter Option+Enter | Insert newline |
Ctrl+R | Command Search |
⌘+D | Split pane |
Windows
| Keyboard binding | Shortcut description |
|---|---|
Escape | Closes the input suggestions or history menu |
Ctrl+L | Clears the terminal |
Ctrl+H | Backspace |
Ctrl+C | Clear the entire editor buffer |
Ctrl+U | Copy and Clear the current line |
Ctrl+C, Ctrl+X, Ctrl+V | Copy, cut, paste |
Ctrl+W / Alt+D | Cut the word to the left / right of the cursor |
Ctrl+Backspace / Ctrl+Delete | Delete the word to the left / right of the cursor |
Ctrl+K | Cut everything to the right of the cursor (copies it to the clipboard) |
Ctrl+← / Ctrl+→ | Move to the beginning of the previous / next word |
Home / End | Move the cursor to the start / end of the line |
Shift+← / Shift+→ | Select the character to the left / right of the cursor |
Meta+Shift+B / Meta+Shift+F | Select the word to the left / right of the cursor |
Shift+Home / Shift+End | Select to the start / end of the line |
Shift+↑ / Shift+↓ | Select everything above / below the cursor |
Ctrl+A | Select the entire editor buffer |
Shift+Enter Ctrl+Enter Alt+Enter | Insert newline |
Ctrl+R | Command Search |
Ctrl+Shift+D | Split pane |
Linux
| Keyboard binding | Shortcut description |
|---|---|
Escape | Closes the input suggestions or history menu |
Ctrl+L | Clears the terminal |
Ctrl+H | Backspace |
Ctrl+C | Clear the entire editor buffer |
Ctrl+U | Copy and Clear the current line |
Ctrl+C, Ctrl+X, Ctrl+V | Copy, cut, paste |
Ctrl+W / Alt+D | Cut the word to the left / right of the cursor |
Ctrl+Backspace / Ctrl+Delete | Delete the word to the left / right of the cursor |
Ctrl+K | Cut everything to the right of the cursor (copies it to the clipboard) |
Ctrl+← / Ctrl+→ | Move to the beginning of the previous / next word |
Home / End | Move the cursor to the start / end of the line |
Shift+← / Shift+→ | Select the character to the left / right of the cursor |
Meta+Shift+B / Meta+Shift+F | Select the word to the left / right of the cursor |
Shift+Home / Shift+End | Select to the start / end of the line |
Shift+↑ / Shift+↓ | Select everything above / below the cursor |
Ctrl+A | Select the entire editor buffer |
Shift+Enter Ctrl+Enter Alt+Enter | Insert newline |
Ctrl+R | Command Search |
Ctrl+Shift+D | Split pane |