# tabular_data_preview: Add shortcut to open tabular data preview \(\#63369\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7aa903ef25e437136cdaf62d32f42522d53e90f3

Requested commit: 7aa903ef25e437136cdaf62d32f42522d53e90f3

Commit: 7aa903ef25e437136cdaf62d32f42522d53e90f3

Tree: 0eacf8c2f69f91f2f16dd4f99c004dcfaea8bf1a

Author: Oleksandr Kholiavko

Committer: GitHub

## Message

```
tabular_data_preview: Add shortcut to open tabular data preview (#63369)

## TL;DR

Adds `cmd-shift-v` / `cmd-k v` (ctrl on linux/windows) to open the
tabular data preview for `csv`/`tsv`/`ssv`/`psv` files, mirroring the
existing `markdown::OpenPreview(ToTheSide)` and
`svg::OpenPreview(ToTheSide)` bindings/context pattern already in the
default keymaps.

Extension check kept explicit (not just `"Editor"`) so it doesn't
compete with the `md`/`svg` blocks bound to the same keys on their own
extensions.

## Testing

- Manually verified `cmd-shift-v` / `cmd-k v` open tabular data preview
on `.csv`/`.tsv`/`.ssv`/`.psv` files, no-op on other extensions.

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [x] UI standards followed
- [ ] Tests cover the new/changed behavior
- [x] Performance impact considered, acceptable

Release Notes:

- Added shortcuts to open the tabular data preview for CSV/TSV/SSV/PSV
files (similar to md/svg preview)

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
```

## Parents

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

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