zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
50.52k stars 3.13k forks source link

vim integration - numeric prefix doesn't work when using insert mode in vim macros #20098

Open petevdp opened 3 weeks ago

petevdp commented 3 weeks ago

Check for existing issues

Describe the bug / provide steps to reproduce it

Reproduction:

By contrast in neovim you will instead get 8 '-'s as expected.

Environment

Zed: v0.159.7 (Zed) OS: Linux Wayland endeavouros unknown Memory: 31.3 GiB Architecture: x86_64 GPU: NVIDIA GeForce RTX 3070 Ti || NVIDIA || 560.35.03

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

No response

If applicable, attach your Zed.log file to this issue.

No response

petevdp commented 3 weeks ago

Further notes:

I haven't explored all cases where numeric prefixes are used but notably they are recorded correctly in a macro when used to prefix a move command, like 8j.