# Add paragraph-based navigation to terminal's vi mode \(\#56038\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/7e4caf003cad710c0fe5fbf99f70af5a3965c764)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 7e4caf003cad710c0fe5fbf99f70af5a3965c764

Requested commit: 7e4caf003cad710c0fe5fbf99f70af5a3965c764

Commit: 7e4caf003cad710c0fe5fbf99f70af5a3965c764

Tree: 0ca4eaad9a7e6af37f3d8b80e44a97b4fab0b0e4

Author: Aleksei Gusev

Committer: GitHub

## Message

````
Add paragraph-based navigation to terminal's vi mode (#56038)

Alacritty has default keyboard shortcuts to navigate between paragraphs
in vi mode:

- shift-{: `ParagraphUp`
- shift-}: `ParagraphDown`

This change unlocks them to use in Zed's terminal. The keybindings can
be easily overridden via keymap.yml like that:

```yaml
{
    "context": "Terminal && vi_mode",
    "bindings": {
        "ctrl-up": ["terminal::SendKeystroke", "shift-{"],
        "ctrl-down": ["terminal::SendKeystroke", "shift-}"],
    }
}
```

Release Notes:

- Added support for navigating up or down paragraphs in the terminal,
when vim vi mode is enabled, with `shift-{` and `shift-}`, respectively.

---------

Co-authored-by: dino <dinojoaocosta@gmail.com>
````

## Parents

- [1b7318bf8b215d680a816a3a315a7d5ec6dcc12a](https://git.cafe/gitcafe/zed/commit/1b7318bf8b215d680a816a3a315a7d5ec6dcc12a?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/7e4caf003cad710c0fe5fbf99f70af5a3965c764?format=markdown)
