-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editor::KillRingCut support for multiple lines? (emacs) #22490
Comments
To reproduce the behaviour seen in Emacs we would need four commands:
The kill ring has a configurable size. Once it reaches its limit, it goes back to the beginning. Hence, it is a |
The initial implementation of kill/yank was an initial stab at supporting the single line form of cut yank: I'd like to keep this issue bite-sized and focused on extended cut/yank to support multiple successive Support for proper kill-ring which preserves previously killed items and allows selecting from them would require some design work -- While not supported in macOS controls, readline does support |
Check for existing issues
Describe the bug / provide steps to reproduce it
I noticed that emacs-like "kill-ring" cut/yank was added recently. My base keymap is Jetbrains and in my custom
~/.config/zed/keymap.json
I have this:However I'm finding that
Ctrl-k
only adds a single like to the kill ring, i.e. when I consecutively kill multiple lines, and then yank withCtrl-y
, I just get the last line killed.Not sure if I need to set up anything else for this to work.
Zed Version and System Specs
Zed: v0.166.1 (Zed)
OS: macOS 15.0.0
Memory: 64 GiB
Architecture: aarch64
If applicable, add screenshots or screencasts of the incorrect state / behavior
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: