Vim commands cheatsheet

Log in to Vote
94
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 5 years and 8 months ago • type: Goodie (Perl functions) Live

anonymous
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] • 5 years and 5 months ago Link
anonymous
I'd like to work on this too. Ha someone started on it?
posted by [UserVoice Bill Soistmann] • 4 years and 11 months ago Link
anonymous
@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] • 4 years and 11 months ago Link
anonymous
@action_potato What have you done so far?
And how can I join in this project?
posted by [UserVoice hpb] • 4 years and 11 months ago Link
anonymous
@hpb
I've written a script that merely parses the webpage listed above in addition to another "cheatsheet" I found (http://www.radford.edu/~mhtay/CPSC120/VI...).

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 http://www.tuxfiles.org/linuxhelp/vimche...). 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] • 4 years and 11 months ago Link
anonymous
@all
I am pretty new here, but have used vim for a long time. I used this cheatsheet http://fprintf.net/vimCheatSheet.html 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] • 4 years and 7 months ago Link
kablamo
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 http://vimdoc.sourceforge.net/htmldoc/ for more information.
posted by kablamo Staff4 years and 9 days ago Link
zac
posted by zac Staff3 years and 8 months ago Link
preemeijer
Used it today. Nice one :)
posted by preemeijer Community Leader3 years and 7 months ago Link
kablamo
Thanks @preemeijer! Great to have feedback!
posted by kablamo Staff3 years and 7 months ago Link