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.
This commit is contained in:
David Kleingeld
2025-09-29 20:32:57 +00:00
committed by GitHub
parent 8af3f583c2
commit 719013dae6
3 changed files with 36 additions and 1 deletions
@@ -0,0 +1,4 @@
{"Put":{"state":"heˇllo\n"}}
{"Key":"Y"}
{"Key":"p"}
{"Get":{"state":"helllˇolo\n","mode":"Normal"}}