# Add YankEndOfLine action \(\#39143\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 719013dae6497b123e3a32329c8ca2b148d4937f

Requested commit: 719013dae6497b123e3a32329c8ca2b148d4937f

Commit: 719013dae6497b123e3a32329c8ca2b148d4937f

Tree: f5878a5478ccb4ca0dc42591e8d8d113fdf76828

Author: David Kleingeld

Committer: GitHub

## Message

```
Add YankEndOfLine action (#39143)

Since 2021 Neovim remaps Y to $y (1). DO the same in zed through a new action `YankToEndOfLine`. 

1: https://github.com/neovim/neovim/pull/13268

Release Notes:

- Added vim::YankToEndOfLine action which copies from the cursor to the end of the line excluding the newline. We bind it to Y by default in the vim keymap.
```

## Parents

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

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