ArticleDirectory
- Graphical cheat sheet
- Graphical cheat sheet based tutorial
- Notes
Learning VI or Vim is not easy. but it doesn' t have to be that difficult, either. it is, in any case, faster, more powerful, and more productive than editing with any other editor, so you wocould do very well in investigation the time and effort to learn it.
Being a VI lover myself, I came up with the idea of providing a graphical cheat sheet for those learning VI or vim, and I also found out it was a very good way to structure a tutorial. here are the results for your learning enjoyment (or your colleagues ').
By the way, I recently published the definitive article explaining why VI/Vim editing is so much better than regular editing. it shoshould prove useful if you want to read it yourself, or if you want to point your skeptical friends to a description of why it makes sense, apart from being an entertaining read: why, oh why, do those #? @! Nutheads use Vi ?.
Graphical cheat sheet
This is a single page describing the full VI/Vim input model, the function of all keys, and all major features. you can see it as a compressed VI/Vim manual. click on the image below to access the full-size bitmap image, or download the vector-based, scalable SVG version (zip-Compressed-and be sure to view & print the SVG with the Open Source Application inkscape or the Adobe plug-in for Internet Explorer, Firefox breaks the layout for some reason, apart from rendering it with no anti-alias !).
Graphical cheat sheet based tutorial
|
|
|
|
|
|
|
Zip with all GIFs |
Zip with all SVGs |
|
The tutorial above is structured in 7 lessons that cover the major commands in VI/vim. they are structured so that you will learn the simplest and most useful first, and the more advanced ones afterwards. actually, using just the commands shown in Lesson 1, you can already start editing in VI/Vim in a similar way to how you wowould on a regular editor. lesson 2 introduces the very powerful, and VI/vim-exclusiveOperators, And the rest of the lessons advance from there. each thumbnail links to a high-resolution bitmap version. you can also download the full tutorial in a single ZIP file with all the bitmaps or a single ZIP file with all the SVGs (see the note about incorrect rendering on Firefox ).
Notes
Vim is an incredible editor by Bram moolenaar, based on the original VI by Bill Joy, adding a ton of improvements over it. Nowadays, you shoshould choose Vim over VI every time you can.
The cheat sheet and tutorial cover most important functions of VI's input model, leaving out the more advanced Regular Expressions/ex command line material. this shoshould be a very good beginning to becoming a VI/Vim wizard.
With the single exception of the external filter feature ("! "), All functions shown are supported by viemu, my functions cial add-in that provides advanced vi-Vim emulation in Visual Studio.