Instantly share code, notes, and snippets.
Just a suggestion: could you use different color per Vim mode (not only yellow)?
Sorry, something went wrong.
Beautiful! I want this on my wall!
Visitor: "What's that? Looks like a fancy techie thing. Is that something from Star Trek?"
Me: laughs "Not quite, actually it is the state diagram for my favorite text editor Vim."
(In my head I imagine all my visitors as astute critiques of technical wonder and are easily impressed by my overwhelming technical prowess)
FYI: The Primeagen made a great video / meme about my diagram. https://www.youtube.com/watch?v=E_8B_seg8AI. I had a good laugh when someone emailed me about it and then watched it. Check it out if you haven't already.
I said the same thing about Select Mode when I first discovered it and had to work it into the diagram. I still don't use it today. But I wanted to show all vim modes in the diagram, and I was having fun trying to make the diagram without any crossing lines.
See vim/vim#13091 - A bug about the undocumented mode mentioned in this diagram was just fixed in vim and therefore nvim.