Block Basics
The basics of creating, selecting, and navigating between Blocks.
- Blocks group your command and command output
- The Input Editor is fixed to the bottom.
- Blocks grow from bottom to the top.
- Blocks are color-coded. Blocks that quit with a non-zero exit code have a red background and red sidebar.\Try it yourself! Type
xyz
(or some other command that doesn’t exist) and hitENTER
- 1.Execute a command (type
ls
and hitENTER
) in the Input Editor at the bottom of the screen. - 2.Your command and output is grouped into a Block.
- 3.Try executing a different command (type
echo hello
and hit enter). - 4.Warp adds your newly created Block to the bottom (directly above the input editor).
Create a Block
- Using your mouse: click on a Block.
- Or using your keyboard: hit
CMD-UP
to select the most recently executed Block and use theUP ↑
andDOWN ↓
arrow keys to navigate to the desired Block.
Select a Single Block
- Click another Block while holding
CMD
to toggle the selection of that Block, or - Click another Block while holding
SHIFT
to select a range of Block, or - Use
SHIFT-UP ↑
orSHIFT-DOWN ↓
to expand the active selection (the Block with the thicker border) up or down, respectively.
Select Multiple Blocks
- Either scroll using your mouse or the scrollbar, or
- Select a Block and use the
UP ↑
andDOWN ↓
arrow keys.
Navigate between Blocks
When the output of a command is cut-off, Warp creates a “snack bar” that displays the command the Block corresponds to. Clicking the "snack bar" will scroll the screen to the start of the Block.
Last modified 6mo ago