>>106129756Yeah, I'm surprised you got with it so far without thorough testing (no offense, some people here think testing is a meme, so maybe they're right). I test almost everything and, btw, D, like Rust, allows unit tests in the same file as main code, so I just put unittests right next to each function and instruct Vim to fold them by default. Very comfy, you might want to try it.
I wonder how you implement commands, I've looked at it briefly and on the surface it looks similar to me, but I'm particularly proud of my context system, which allows easy bundling of commands like "2wd". Anyway, I'll check your code more closely soon.
What was the most difficult part so far, would you say?