Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions src/content/docs/terminal/appearance/input-position.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import VideoEmbed from '@components/VideoEmbed.astro';

You can select from three different input positions, which each have different modes of behavior for the flow of input/output Blocks.

<table><thead><tr><th>Input position</th><th>Behavior</th><th data-hidden></th></tr></thead><tbody><tr><td>Start at the top (Classic mode)</td><td>When you select “start at the top,” the prompt with input will initiate at the top of the view and move down in the view as you enter commands. Blocks of input/output will stack above the prompt and command input. You can scroll up or navigate up to visit past commands. You can enter <code>CTRL-L</code> or the <code>clear</code> command at any time to return the input to the top of the screen while still maintaining your scroll history.</td><td></td></tr><tr><td>Pin to the top (Reverse mode)</td><td>When you select “pin to the top,” the prompt with input will display pinned to the top of your terminal view. Blocks of grouped input/output will flow down the view in reverse order with your latest results at the top. You can scroll down or navigate down to visit past commands. For long-running commands, you can also click "Lock scrolling at bottom of block" to continue to follow the stdout.</td><td></td></tr><tr><td>Pin to the bottom (Warp mode)</td><td>Warp mode starts with input pinned to the bottom of your terminal view. Blocks of grouped input/output flow up and out of view. You can scroll up or navigate up to visit past commands.</td><td></td></tr></tbody></table>
<table><thead><tr><th>Input position</th><th>Behavior</th><th data-hidden></th></tr></thead><tbody><tr><td>Start at the top (Classic mode)</td><td>When you select “start at the top,” the prompt with input will initiate at the top of the view and move down in the view as you enter commands. Blocks of input/output will stack above the prompt and command input. You can scroll up or navigate up to visit past commands. You can enter <code>Ctrl+L</code> or the <code>clear</code> command at any time to return the input to the top of the screen while still maintaining your scroll history.</td><td></td></tr><tr><td>Pin to the top (Reverse mode)</td><td>When you select “pin to the top,” the prompt with input will display pinned to the top of your terminal view. Blocks of grouped input/output will flow down the view in reverse order with your latest results at the top. You can scroll down or navigate down to visit past commands. For long-running commands, you can also click "Lock scrolling at bottom of block" to continue to follow the stdout.</td><td></td></tr><tr><td>Pin to the bottom (Warp mode)</td><td>Warp mode starts with input pinned to the bottom of your terminal view. Blocks of grouped input/output flow up and out of view. You can scroll up or navigate up to visit past commands.</td><td></td></tr></tbody></table>

## How to access it

Expand All @@ -24,19 +24,19 @@ Changes to the input position take place immediately and apply to all open panes

<Tabs>
<TabItem label="macOS">
* `CMD-K` will clear the entire list of input/output blocks for a clean view
* `CTRL-L` will move the list of input/output blocks outside of the view and past the scroll so you have a clean view and the ability to easily visit past commands
* For long Blocks, you can press `SHIFT-CMD-UP`/`SHIFT-CMD-DOWN` to scroll to the top/bottom of the selected block.
* `⌘+K` will clear the entire list of input/output blocks for a clean view
* `Ctrl+L` will move the list of input/output blocks outside of the view and past the scroll so you have a clean view and the ability to easily visit past commands
* For long Blocks, you can press `⌘+Shift+↑`/`⌘+Shift+↓` to scroll to the top/bottom of the selected block.
</TabItem>
<TabItem label="Windows">
* `CTRL-SHIFT-K` will clear the entire list of input/output blocks for a clean view
* `CTRL-L` will move the list of input/output blocks outside of the view and past the scroll so you have a clear view and the ability to easily visit past commands
* For long Blocks, you can press `CTRL-SHIFT-UP`/`CTRL-SHIFT-DOWN` to scroll to the top/bottom of the selected block.
* `Ctrl+Shift+K` will clear the entire list of input/output blocks for a clean view
* `Ctrl+L` will move the list of input/output blocks outside of the view and past the scroll so you have a clear view and the ability to easily visit past commands
* For long Blocks, you can press `Ctrl+Shift+↑`/`Ctrl+Shift+↓` to scroll to the top/bottom of the selected block.
</TabItem>
<TabItem label="Linux">
* `CTRL-SHIFT-K` will clear the entire list of input/output blocks for a clean view
* `CTRL-L` will move the list of input/output blocks outside of the view and past the scroll so you have a clear view and the ability to easily visit past commands
* For long Blocks, you can press `CTRL-SHIFT-UP`/`CTRL-SHIFT-DOWN` to scroll to the top/bottom of the selected block.
* `Ctrl+Shift+K` will clear the entire list of input/output blocks for a clean view
* `Ctrl+L` will move the list of input/output blocks outside of the view and past the scroll so you have a clear view and the ability to easily visit past commands
* For long Blocks, you can press `Ctrl+Shift+↑`/`Ctrl+Shift+↓` to scroll to the top/bottom of the selected block.
</TabItem>
</Tabs>

Expand Down
24 changes: 12 additions & 12 deletions src/content/docs/terminal/blocks/block-actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -39,38 +39,38 @@ Quickly navigate to important Blocks despite where they are in the terminal hist
Ways to bookmark a Block:

1. Select **Toggle bookmark** in the block context menu
2. Use `CMD-B` keybinding to bookmark a selected block
2. Use `⌘+B` keybinding to bookmark a selected block

Navigate to a bookmarked Block, by:

* Clicking on the indicator.\
The indicator position reflects the approximate position of the Block in the Block history. Hovering over the indicator will give a snapshot of the Block including its prompt, command, and the last two lines of output.
* Pressing `OPTION-UP` and `OPTION-DOWN`
* Pressing `Option+↑` and `Option+↓`
</TabItem>
<TabItem label="Windows">
Ways to bookmark a Block:

1. Select **Toggle bookmark** in the block context menu
2. Use `CTRL-SHIFT-B` keybinding to bookmark a selected block
2. Use `Ctrl+Shift+B` keybinding to bookmark a selected block

Navigate to a bookmarked Block, by:

* Clicking on the indicator.\
The indicator position reflects the approximate position of the Block in the Block history. Hovering over the indicator will give a snapshot of the Block including its prompt, command, and the last two lines of output.
* Pressing `ALT-UP` and `ALT-DOWN`
* Pressing `Alt+↑` and `Alt+↓`
</TabItem>
<TabItem label="Linux">
Ways to bookmark a Block:

1. Click on the bookmark icon in the top right corner of a Block
2. Select **Toggle bookmark** in the block context menu
3. Use `CTRL-SHIFT-B` keybinding to bookmark a selected block
3. Use `Ctrl+Shift+B` keybinding to bookmark a selected block

Navigate to a bookmarked Block, by:

* Clicking on the indicator.\
The indicator position reflects the approximate position of the Block in the Block history. Hovering over the indicator will give a snapshot of the Block including its prompt, command, and the last two lines of output.
* Pressing `ALT-UP` and `ALT-DOWN`
* Pressing `Alt+↑` and `Alt+↓`
</TabItem>
</Tabs>

Expand All @@ -86,13 +86,13 @@ Quickly find important information within a Block. See the [Find page](/terminal

<Tabs>
<TabItem label="macOS">
With a Block selected, press "Find Within Block" or use `CMD-F` to search within a Block.
With a Block selected, press "Find Within Block" or use `⌘+F` to search within a Block.
</TabItem>
<TabItem label="Windows">
With a Block selected, press "Find Within Block" or use `CTRL-SHIFT-F` to search within a Block.
With a Block selected, press "Find Within Block" or use `Ctrl+Shift+F` to search within a Block.
</TabItem>
<TabItem label="Linux">
With a Block selected, press "Find Within Block" or use `CTRL-SHIFT-F` to search within a Block.
With a Block selected, press "Find Within Block" or use `Ctrl+Shift+F` to search within a Block.
</TabItem>
</Tabs>

Expand All @@ -104,15 +104,15 @@ Filter the output lines of a block natively in Warp to quickly focus on a subset

<Tabs>
<TabItem label="macOS">
* Using the keybinding `OPT-SHIFT-F` by default to toggle filtering on the selected or latest block
* Using the keybinding `Option+Shift+F` by default to toggle filtering on the selected or latest block
* Selecting `Toggle Block Filter` in the block context menu
</TabItem>
<TabItem label="Windows">
* Using the keybinding `ALT-SHIFT-F` to toggle filtering on the selected or latest block
* Using the keybinding `Alt+Shift+F` to toggle filtering on the selected or latest block
* Selecting `Toggle Block Filter` in the block context menu
</TabItem>
<TabItem label="Linux">
* Using the keybinding `ALT-SHIFT-F` to toggle filtering on the selected or latest block
* Using the keybinding `Alt+Shift+F` to toggle filtering on the selected or latest block
* Selecting `Toggle Block Filter` in the block context menu
</TabItem>
</Tabs>
Loading
Loading