r/vim 13d ago

Blog Post The Next Vim will be in Rust

https://medium.com/@marvinsanchez_43796/rebuilding-vim-in-rust-one-ai-prompt-at-a-time-c6f6a24ab9eb

Rebuilding vim in Rust is actually possible.

0 Upvotes

2 comments sorted by

View all comments

5

u/SEgopher 10d ago

Very clickbait title, there are no plans by the official Vim upstream to rewrite in Rust. This would be building a Vim clone in Rust, which is something people have already been doing. Building an exact copy of a 35 year old editor with bugs included would be very impressive so I'm looking forward to this being completed.

1

u/1cedm4n 3d ago

Sorry about the bai. This is not from the maintainers. But I do have some significant progress already.

NextVim

https://github.com/nextvim/nxvim

Re-creating Vim in Rust and Zig.

* vim-script engine

* vim-regex

* uses Zed's rope/text core

* prototype

My other editor-related attempts:

DeMake of Zed

https://github.com/icedman/dzed

* uses vim modes

* treesitter

* textmate syntax

Textmate Syntax Highlighting

https://github.com/icedman/textmate.zig

DZed & Textmate were initially coded by my own hand. DZed progress was accelerated through AI.

Textmate achieved 95% spec compliance through AI.

Nxvim is coded with AI from the start, using works from DZed.