跳到正文
FunCoding

搜索

搜索文档、文章、Skill 和 MCP

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 bindingShortcut description
EscapeCloses the input suggestions or history menu
Ctrl+LClears the terminal
Ctrl+HBackspace
Ctrl+CClear the entire editor buffer
Ctrl+UCopy and Clear the current line
⌘+Shift+KClear selected lines
⌘+C, ⌘+X, ⌘+VCopy, cut, paste
Ctrl+W / Option+DCut the word to the left / right of the cursor
Option+Backspace / Option+DeleteDelete the word to the left / right of the cursor
Ctrl+KCut everything to the right of the cursor (copies it to the clipboard)
⌘+DeleteDelete 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
⌘+ASelect the entire editor buffer
Shift+Enter Ctrl+Enter Option+EnterInsert newline
Ctrl+RCommand Search
⌘+DSplit pane

Windows

Keyboard bindingShortcut description
EscapeCloses the input suggestions or history menu
Ctrl+LClears the terminal
Ctrl+HBackspace
Ctrl+CClear the entire editor buffer
Ctrl+UCopy and Clear the current line
Ctrl+C, Ctrl+X, Ctrl+VCopy, cut, paste
Ctrl+W / Alt+DCut the word to the left / right of the cursor
Ctrl+Backspace / Ctrl+DeleteDelete the word to the left / right of the cursor
Ctrl+KCut everything to the right of the cursor (copies it to the clipboard)
Ctrl+← / Ctrl+→Move to the beginning of the previous / next word
Home / EndMove 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+FSelect the word to the left / right of the cursor
Shift+Home / Shift+EndSelect to the start / end of the line
Shift+↑ / Shift+↓Select everything above / below the cursor
Ctrl+ASelect the entire editor buffer
Shift+Enter Ctrl+Enter Alt+EnterInsert newline
Ctrl+RCommand Search
Ctrl+Shift+DSplit pane

Linux

Keyboard bindingShortcut description
EscapeCloses the input suggestions or history menu
Ctrl+LClears the terminal
Ctrl+HBackspace
Ctrl+CClear the entire editor buffer
Ctrl+UCopy and Clear the current line
Ctrl+C, Ctrl+X, Ctrl+VCopy, cut, paste
Ctrl+W / Alt+DCut the word to the left / right of the cursor
Ctrl+Backspace / Ctrl+DeleteDelete the word to the left / right of the cursor
Ctrl+KCut everything to the right of the cursor (copies it to the clipboard)
Ctrl+← / Ctrl+→Move to the beginning of the previous / next word
Home / EndMove 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+FSelect the word to the left / right of the cursor
Shift+Home / Shift+EndSelect to the start / end of the line
Shift+↑ / Shift+↓Select everything above / below the cursor
Ctrl+ASelect the entire editor buffer
Shift+Enter Ctrl+Enter Alt+EnterInsert newline
Ctrl+RCommand Search
Ctrl+Shift+DSplit pane

How it works

![soft wrapping text in Warp input editor](/official-assets/warp/src/assets/terminal/soft-wrapping.webp)
Soft wrapping applied to long lines in the editor.