# vim: Add keybindings for resizing docks \(\#23874\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d0152f9eb4666fbf7cfd7143cfacf5058d1c2c40

Requested commit: d0152f9eb4666fbf7cfd7143cfacf5058d1c2c40

Commit: d0152f9eb4666fbf7cfd7143cfacf5058d1c2c40

Tree: 6e10ad422345d8d0fdda5225bd95189f8abd4048

Author: AidanV

Committer: GitHub

## Message

```
vim: Add keybindings for resizing docks (#23874)

Closes #23334

This does not follow the exact way that windows are resized in vim.
Normally the command is `ctrl-w >` however this PR uses just `ctrl->`.
This is because I could not find a good way to read in a count like `10
ctrl-w ctrl->`. This is not really a problem since `ctrl->` can be held
down, which, in my opinion, speeds up resizing. I think this is a good
compromise since it improves usability; however, I am concerned that
this is not intuitive. I am looking forward to feedback.

Release Notes:

- Added the following commands 
  - vim::ResizeLeftDock
  - vim::ResizeRightDock
  - vim::ResizeBottomDock
- Added keybinds
  - `ctrl->` for widening left dock
  - `ctrl-<` for narrowing left dock
```

## Parents

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

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