Graphical vi/vim Cheat Sheet and Tutorial

Try out ViEmu
vi/vim emulation for
Microsoft Visual Studio!

Learning vi or vim is not easy. But it doesn't have to be that difficult, either. I came up with the idea of providing a graphical cheat sheet for those learning vi/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').

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 a high-resolution bitmap version, 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 of rendering it with no anti-alias!).


Graphical cheat sheet based tutorial

Lesson 1
Lesson 1 (hi)
Lesson 2
Lesson 2 (hi)
Lesson 3
Lesson 3 (hi)
Lesson 4
Lesson 4 (hi)
Lesson 5
Lesson 5 (hi)
Lesson 6
Lesson 6 (hi)
Lesson 7
Lesson 7 (hi)
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, with only the commands shown in lesson 1, you can start editing in vi/vim with the common operations as on a regular editor. Lesson 2 introduces the very powerful, and vi/vim-exclusive operators, 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 above about incorrect rendering on Firefox).

Notes

Want to comment? Provide feedback? Learn why someone would take up vi/vim editing in 2005/2006? Or how/why I did this cheat sheet & tutorial? Just hop over to my blog post on the subject.

vim is an incredible editor by Bram Molenaar, based on the original vi by Bill Joy, and adding a ton of improvements over it. Nowadays, you should 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 should be a very good beginning to become a vi/vim wizard.

With the single exception of the external filter feature ("!"), all functions shown are supported by ViEmu, my commercial add-in that provides advanced vi/vim emulation in Visual Studio.

[Go to main vi/vim tips index]
::...
免责声明:
当前网页内容, 由 大妈 ZoomQuiet 使用工具: ScrapBook :: Firefox Extension 人工从互联网中收集并分享;
内容版权归原作者所有;
本人对内容的有效性/合法性不承担任何强制性责任.
若有不妥, 欢迎评注提醒:

大妈的多重宇宙 - YouTube

全新自媒体:科幻/读书/说故事...欢迎订阅;

或是邮件反馈可也:
askdama[AT]googlegroups.com


订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

关注公众号, 持续获得相关各种嗯哼:
zoomquiet



粤ICP备18025058号-1
公安备案号: 44049002000656 ...::