# vim: Add support for ctrl-w commands · gitcafe/zed

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

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

Visibility: public

Requested revision: 2762f9b1c681a0af0cf3c6e08e8f1a3855352faf

Requested commit: 2762f9b1c681a0af0cf3c6e08e8f1a3855352faf

Commit: 2762f9b1c681a0af0cf3c6e08e8f1a3855352faf

Tree: 85df03ad1e0056c75f0ff35208d173502499fa3a

Author: Conrad Irwin

Committer: Conrad Irwin

## Message

```
vim: Add support for ctrl-w commands

Primarily {h,j,k,l,left,right,up,down} for moving to a pane by
direction; but also {w,W,p} for going forward/back, and {v,s} for
splitting a pane vertically/horizontally, and {c,q} to close a pane.

There are a large number of ctrl-w commands that are not supported, and
which fall into three buckets:

* switch this pane with that one (VScode also has this, and it's a
  requested feature)
* move to top/bottom/leftmost/rightmost
* counts on any of these
* jump to "definition/file-under-cursor/etc.etc." in a new pane.

```

## Parents

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

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