# vim: Support filename in :tabedit and :tabnew commands \(\#35775\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 978b75bba960ab0a58ff481f3aac6056d5982a66

Requested commit: 978b75bba960ab0a58ff481f3aac6056d5982a66

Commit: 978b75bba960ab0a58ff481f3aac6056d5982a66

Tree: b47efc853d54ca405e5e5ad80d7507e6faf433cf

Author: Dino

Committer: GitHub

## Message

```
vim: Support filename in :tabedit and :tabnew commands (#35775)

Update both `:tabedit` and `:tabnew` commands in order to support a
single argument, a filename, that, when provided, ensures that the new
tab either opens an existing file or associates the new tab with the
filename, so that when saving the buffer's content, the file is created.

Relates to #21112 

Release Notes:

- vim: Added support for filenames in both `:tabnew` and `:tabedit` commands
```

## Parents

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

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