News for hackers. Stuff that matters.
Re:Batteries included with Emacs (2020) by jeofken on Friday November 26, 2021 @05:09AM (#29348894)
When I was implementing a toy editor I read the neovim source code and to no one’s surprise the modes are just long switch statements - when in mode M and input key is K, do some action. It’s a simple program and your mental model is probably close to the vim source code!

For learning a lot of cool stuff about implementing my best book is The Craft Of Text Editing

http://www.finseth.com/craft/

There are no comments on this comment yet.