zed icon indicating copy to clipboard operation
zed copied to clipboard

[vim] use `editor: convert to xxx case` , Cannot undo correctly

Open 0x2CA opened this issue 1 year ago • 2 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

https://github.com/zed-industries/zed/assets/19868292/f4799904-8fc9-4008-a29e-d22c7000ff3e

Environment

Zed: v0.134.1 (Zed Preview) OS: macOS 14.2.1 Memory: 32 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

0x2CA avatar May 06 '24 03:05 0x2CA

I think the problem is hit here, should not record new_selections? But these lines were added later from commit history, I don't what purpose.

CharlesChen0823 avatar May 06 '24 13:05 CharlesChen0823

Thanks for reporting! Currently we don't have a good way of adding extra functionality to the existing editor mappings, so vim mode gets undo/. etc but normal mappings don't. I'll think more about how we can resolve this without copy-pasting every action into vim.

ConradIrwin avatar May 10 '24 03:05 ConradIrwin