# Make a macro for less boilerplate when moving variables \(\#12182\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3eb0418bda8b7c7e375f0a00ae65da99b5a8c054

Requested commit: 3eb0418bda8b7c7e375f0a00ae65da99b5a8c054

Commit: 3eb0418bda8b7c7e375f0a00ae65da99b5a8c054

Tree: 95d67b5196bb61652d98ca47f9a9b442cb9badf4

Author: Mikayla Maki

Committer: GitHub

## Message

```
Make a macro for less boilerplate when moving variables (#12182)

Also: 
- Simplify open listener implementation
- Add set_global API to global traits

Release Notes:

- N/A
```

## Parents

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

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