> 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 like visible different lines (`UP`/`DOWN`, `SHIFT-UP`/`SHIFT-DOWN`).

### 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 |
| --- | --- |
| `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 |
| `CMD-SHIFT-K` | Clear selected lines |
| `CMD-C`, `CMD-X`, `CMD-V` | Copy, cut, paste |
| `CTRL-W` / `OPT-D` | Cut the word to the left / right of the cursor |
| `OPT-BACKSPACE` / `OPT-D` | Delete the word to the left / right of the cursor |
| `CTRL-K CMD-DELETE` | Delete everything to the right of the cursor |
| `OPT-LEFT` / `OPT-RIGHT` | Move to the beginning of the previous / next word |
| `CTRL-OPT-LEFT` / `CTRL-OPT-RIGHT` | Move backward / forward by one subword |
| `CMD-LEFT` `CTRL-A`/ `CTRL-E` `CMD-DOWN` `CMD-RIGHT` | Move the cursor to the start / end of the line |
| `SHIFT-LEFT` / `SHIFT-RIGHT` | Select the character to the left / right of the cursor |
| `OPT-SHIFT-LEFT` / `OPT-SHIFT-RIGHT` | Select the word to the left / right of the cursor |
| `CMD-SHIFT-LEFT` / `CMD-SHIFT-RIGHT` | Select everything to the left / right of the cursor |
| `SHIFT-UP` / `SHIFT-DOWN` | Select everything above / below the cursor |
| `CMD-A` | Select the entire editor buffer |
| `SHIFT-ENTER` `CTRL-ENTER` `OPT-ENTER` | Insert newline |
| `CTRL-R` | Command Search |
| `CMD-D` | Split pane |

| 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-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-LEFT` / `ALT-RIGHT` | Move to the beginning of the previous / next word |
| `CTRL-LEFT` / `CTRL-RIGHT` | 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-UP` / `SHIFT-DOWN` | 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 |
| --- | --- |
| `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-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-LEFT` / `ALT-RIGHT` | Move to the beginning of the previous / next word |
| `CTRL-LEFT` / `CTRL-RIGHT` | 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-UP` / `SHIFT-DOWN` | 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_2UP54ohwD693dPBUGyARRgeBdBXG)

Soft wrapping applied to long lines in the editor.
