> For the complete documentation index, see [llms.txt](/llms.txt).
> Markdown versions of each page are available by appending .md to any URL.

# 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.

Note

Text Editor Input also works for [SSH sessions](/terminal/warpify/ssh/).

### 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 as visually distinct lines (`↑`/`↓`, `Shift+↑`/`Shift+↓`).

### Copy on select

Warp supports copy on select for selectable text within [Blocks](/terminal/blocks/).

-   Toggle this feature in **Settings** > **Features** > **Terminal** or search for “Copy on select” in the [Command Palette](/terminal/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](/terminal/command-palette/).

## How to use it

-   [macOS](#tab-panel-758)
-   [Windows](#tab-panel-759)
-   [Linux](#tab-panel-760)

| Keyboard binding | Shortcut description |
| --- | --- |
| `Esc` | 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` / `⌥+D` | Cut the word to the left / right of the cursor |
| `⌥+Backspace` / `⌥+D` | Delete the word to the left / right of the cursor |
| `Ctrl+K ⌘+Delete` | Delete everything to the right of the cursor |
| `⌥+←` / `⌥+→` | Move to the beginning of the previous / next word |
| `Ctrl+⌥+←` / `Ctrl+⌥+→` | 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 |
| `⌥+Shift+←` / `⌥+Shift+→` | Select the word to the left / right of the cursor |
| `⌘+Shift+←` / `⌘+Shift+→` | Select everything to the left / right of the cursor |
| `Shift+↑` / `Shift+↓` | Select everything above / below the cursor |
| `⌘+A` | Select the entire editor buffer |
| `Shift+Enter` `Ctrl+Enter` `⌥+Enter` | Insert newline |
| `Ctrl+R` | Command Search |
| `⌘+D` | Split pane |

| Keyboard binding | Shortcut description |
| --- | --- |
| `Esc` | 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+Shift+K` | Clear selected lines |
| `Ctrl+C`, `Ctrl+X`, `Ctrl+V` | Copy, cut, paste |
| `Ctrl+W` / `Alt+D` | Cut the word to the left / right of the cursor |
| `Alt+Backspace` / `Alt+D` | Delete the word to the left / right of the cursor |
| `Ctrl+K` | Delete everything to the right of the cursor |
| `Alt+←` / `Alt+→` | Move to the beginning of the previous / next word |
| `Ctrl+←` / `Ctrl+→` | Move backward / forward by one subword |
| `Ctrl+A`/ `Ctrl+E` | Move the cursor to the start / end of the line |
|  | 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 |
|  | Select everything to the left / right of the cursor |
| `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 |

| Keyboard binding | Shortcut description |
| --- | --- |
| `Esc` | 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+Shift+K` | Clear selected lines |
| `Ctrl+C`, `Ctrl+X`, `Ctrl+V` | Copy, cut, paste |
| `Ctrl+W` / `Alt+D` | Cut the word to the left / right of the cursor |
| `Alt+Backspace` / `Alt+D` | Delete the word to the left / right of the cursor |
| `Ctrl+K` | Delete everything to the right of the cursor |
| `Alt+←` / `Alt+→` | Move to the beginning of the previous / next word |
| `Ctrl+←` / `Ctrl+→` | Move backward / forward by one subword |
| `Ctrl+A`/ `Ctrl+E` | Move the cursor to the start / end of the line |
|  | 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 |
|  | Select everything to the left / right of the cursor |
| `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 |

## How it works

![soft wrapping text in Warp input editor](/_astro/soft-wrapping.BKVrRDtB_lpNoy.webp?dpl=dpl_3er2F6La4cCzcMtgjHSyo9up2jMz)

Soft wrapping applied to long lines in the editor.
