# vim: Add \`:\<range\>w \<filename\>\` command \(\#41256\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 84f24e4b62c550b6a6b8193b316ace7a677d4afc

Requested commit: 84f24e4b62c550b6a6b8193b316ace7a677d4afc

Commit: 84f24e4b62c550b6a6b8193b316ace7a677d4afc

Tree: 00b90f431e0852cea35b32bc5ec2400d2037ecac

Author: AidanV

Committer: GitHub

## Message

```
vim: Add `:<range>w <filename>` command (#41256)

Release Notes:

- Adds support for `:[range]w {file}`
  - This writes the lines in the range to the specified
- Adds support for `:[range]w`
  - This replaces the current file with the selected lines
```

## Parents

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

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