# Add option to either use system clipboard or vim clipboard \(\#7936\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5c4f3c0ceaa0b2270c8f4fc8ee32b85c70810206

Requested commit: 5c4f3c0ceaa0b2270c8f4fc8ee32b85c70810206

Commit: 5c4f3c0ceaa0b2270c8f4fc8ee32b85c70810206

Tree: a70e779823cb80b36ecfea9213d1eab3cecebe44

Author: Mahdy M\. Karam

Committer: GitHub

## Message

```
Add option to either use system clipboard or vim clipboard (#7936)

Release Notes:

- vim: Added a setting to control default clipboard behaviour. `{"vim":
{"use_system_clipboard": "never"}}` disables writing to the clipboard.
`"on_yank"` writes to the system clipboard only on yank, and `"always"`
preserves the current behavior. ([#4390
](https://github.com/zed-industries/zed/issues/4390))

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
```

## Parents

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

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