# vim: Add gt and gT bindings for Markdown preview mode \(\#39854\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 35f5eb1fe79cb7ed5932f2b6bb236c1b960af276

Requested commit: 35f5eb1fe79cb7ed5932f2b6bb236c1b960af276

Commit: 35f5eb1fe79cb7ed5932f2b6bb236c1b960af276

Tree: c911e619a3be1b21d10bb5148f55db043786c8bc

Author: Pranav Joglekar

Committer: GitHub

## Message

```
vim: Add gt and gT bindings for Markdown preview mode (#39854)

### What does this PR do?
- Adds default keybindings `gt` for navigating to the next tab and `gT`
for navigating to the previous tab in markdown viewer mode

### Why do we need this change?
- While previewing markdown files, the default vim bindings (`gt` and
`gT`) do not work for navigating between tabs. These bindings work
everywhere else, which provides a non-consistent experience for the
user.

### How do we do this change?
- Update the vim mode bindings to explicitly add handling for this mode

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
```

## Parents

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

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