Vim commands cheatsheet

Log in to Vote
94 Votes • 10 Comments
Could really be either a goodie or fathead, depending on how far you take 'cheatsheet.'

"search in vim" would show how to search.
• posted 6 years and 8 months ago • type: Goodie (Perl functions) Live

I like this idea, and I'd like to work on it. :)
Any general action in vim {search, exit, edit, replace, undo, etc}, could map to a section on that cheatsheet (we could probably pull from other sources as well) and generate a short blurb/summary of relevant vim commands related to that action.

posted by [UserVoice action_potato] • 6 years and 5 months ago Link
I'd like to work on this too. Ha someone started on it?
posted by [UserVoice Bill Soistmann] • 5 years and 11 months ago Link
@Bill: I have code written up for this plugin already but I've been too busy with other things to finish it and finalize it for a pull request. If you'd like to work on it, then by all means please go for it : )
posted by [UserVoice action_potato] • 5 years and 11 months ago Link
@action_potato What have you done so far?
And how can I join in this project?
posted by [UserVoice hpb] • 5 years and 11 months ago Link
I've written a script that merely parses the webpage listed above in addition to another "cheatsheet" I found (

I'm currently thinking about what keywords should map to which section(s) in these webpages. For instance, a query like "move in vim" should ideally show the section on moving around in vim (See I'd very much like to talk about some ideas regarding the best way to do this; if you'd like to chat you could always ping me on freenode IRC (action_potato).
posted by [UserVoice action_potato] • 5 years and 11 months ago Link
I am pretty new here, but have used vim for a long time. I used this cheatsheet and have found this better, and also it has data in a format which can be easily parsed from.
@action_potato: it answers your question of keywords in a pretty good manner
posted by [UserVoice Kunal Tyagi] • 5 years and 7 months ago Link
Hi, I'm interested in working on this. I think a simple VimCheatSheet goodie similar to the RegexCheatSheet would be a good start.

However, I am also thinking of a more ambitious vim command lookup. Basically we could send users directly to the right spot in the vim documentation. Here is how:

$HOME/.vim/doc/tags is a ctags file for all the help documents. It should be possible to use that to create ... some kind of key/value store such that the keys consist of every tag in the vim help documentation and the values are the corresponding documentation. Then anyone who searches for 'vim command *' will get the documentation for * and a link to the right location on for more information.
posted by kablamo Staff5 years and 9 days ago Link
posted by zac Staff4 years and 8 months ago Link
Used it today. Nice one :)
posted by preemeijer Community Leader4 years and 7 months ago Link
Thanks @preemeijer! Great to have feedback!
posted by kablamo Staff4 years and 7 months ago Link