# Ctrl/Alt-V to select by page in Emacs keymap \(\#30858\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 844c7ad22e211a2ea6515e1a2a45619f98c55972

Requested commit: 844c7ad22e211a2ea6515e1a2a45619f98c55972

Commit: 844c7ad22e211a2ea6515e1a2a45619f98c55972

Tree: 9e82fe5f630fbd6fcb0d27b855c1fc2737b5b97f

Author: Antti Kaihola

Committer: GitHub

## Message

```
Ctrl/Alt-V to select by page in Emacs keymap (#30858)

Problem: In addition to PgUp/PgDown Emacs also binds `Ctrl-V` to page
down and `Meta-V` to page up. These keys wouldn't extend the selection
in Zed.

Reason: Only PageUp/PageDown were assigned to
`editor::SelectPage{Up|Down}` in the `Editor && selection_mode` context.

Solution: In the `Editor && selection_mode` context, bind `Ctrl-V` to
`editor::SelectPageDown` and `Alt-V` to `editor::SelectPageUp`, both in
the mac and linux keymaps.

Release Notes:

- Added to the Emacs keymap bindings for Ctrl/Alt-V in the selection
mode to extend the selection one page up/down
```

## Parents

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

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