~/talk

Rewriting Vim in Rust: Lessons Learned

Talkat RustWeek 2025 · 2025-05-13..05-17· [rust]
speakerdeck:conradirwin
slides:none on file

Reimplements Vim behaviors inside Zed, a Rust editor engineered for GPU-speed low latency, and documents surprising edge cases like the dot command complexity that must remember action, inserted text, visual selection, mode, size and the most recent count; notes Vim is ~1M lines of C and decades old. Uses an async Rust architecture and runs keystroke parity tests—Neovim and Zed replay identical key streams in parallel and any divergence is a test failure—Helix and Vimscript compatibility remain limited.

AI-written summary · about

  1. 0:00Talk introduction
  2. 1:49Rewriting Vim in Rust challenges
  3. 4:37The magic of Vim for developers
  4. 8:53Bram Moolenaar’s legacy
  5. 10:17Vim’s :% commands decoded
  6. 14:07Zed’s Vim speed
  7. 17:43Q&A: Vimscript support
  8. 18:49Q&A: Testing Zed compatibility
  9. 19:10Q&A: Rust’s impact
  10. 20:11Q&A: Migrating from Vim
  11. 21:38Q&A: Key-binding hints
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.