Skip to content

Instantly share code, notes, and snippets.

@darcyparker
Last active September 30, 2024 12:33
Show Gist options
  • Save darcyparker/1886716 to your computer and use it in GitHub Desktop.
Save darcyparker/1886716 to your computer and use it in GitHub Desktop.
Vim Modes Transition Diagram in SVG https://rawgithub.com/darcyparker/1886716/raw/eab57dfe784f016085251771d65a75a471ca22d4/vimModeStateDiagram.svg Note, most of the nodes in this graph have clickable hyperlinks to documentation.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@darcyparker
Copy link
Author

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.

@darcyparker
Copy link
Author

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