# Allow vim counts with undo and redo \(\#13950\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 034d905435ea357e0ff847b0f8e1140dfb7aba38

Requested commit: 034d905435ea357e0ff847b0f8e1140dfb7aba38

Commit: 034d905435ea357e0ff847b0f8e1140dfb7aba38

Tree: d38bbd1ff4b49aadc018fc1a543c7e27c61be030

Author: Matt Fellenz

Committer: GitHub

## Message

```
Allow vim counts with undo and redo (#13950)

These were previously passed directly to the editor module, which knows
nothing about vim counts. Instead, implement new actions in the vim
module which take the count and use it to invoke the corresponding
action in the editor module, properly repeated.

Release Notes:

- Fixed vim undo and redo commands not taking counts.
```

## Parents

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

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