# Add workspace::ActivatePaneInDirection \(\#2757\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 372f66c88a1b3d5cc98939fb06856f5fb4910e0d

Requested commit: 372f66c88a1b3d5cc98939fb06856f5fb4910e0d

Commit: 372f66c88a1b3d5cc98939fb06856f5fb4910e0d

Tree: fcfa04e5da3e4cc091fb419915052f3f08267a24

Author: Conrad Irwin

Committer: GitHub

## Message

```
Add workspace::ActivatePaneInDirection (#2757)

This change adds support for choosing a pane based on direction; and
adds default keybindings (`cmd+k cmd+{left,right,up,down}`) and vim
keybindings.

Release Notes:

- Add support for navigating to the next pane in a given direction using
`cmd+k cmd-{up,down,left,right}`
([#476](https://github.com/zed-industries/community/issues/476),
[#478](https://github.com/zed-industries/community/issues/478))
- Vim: adds support for many window related shortcuts: `ctrl-w
{h,j,k,l,up,down,left,right,w,W,p}` for navigating around panes, `ctrl-w
{q,c}` for closing panes and `ctrl-w {v,s}` for splitting panes.
```

## Parents

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

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

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