Skip to content

Instantly share code, notes, and snippets.

Last active November 24, 2023 07:14
  • Star 81 You must be signed in to star a gist
  • Fork 14 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Vim Modes Transition Diagram in SVG Note, most of the nodes in this graph have clickable hyperlinks to documentation.
Display the source blob
Display the rendered blob
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Copy link

Just a suggestion: could you use different color per Vim mode (not only yellow)?

Copy link

sukima commented May 26, 2021

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."

Visitor: "Whoa!"

(In my head I imagine all my visitors as astute critiques of technical wonder and are easily impressed by my overwhelming technical prowess)

Copy link

FYI: The Primeagen made a great video / meme about my diagram. 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.

Copy link

See vim/vim#13091 - A bug about the undocumented mode mentioned in this diagram was just fixed in vim and therefore nvim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment