vi/vim Graphical Cheat Sheet

by venukb on January 28, 2007

Every time I try to edit a file in Unix using vi, I end up corrupting the file rather than “editing” it.

To get out of the mess I resort to q! command which helps me to exit from editor without saving the modifications. Incidentally this command (q!) happens to be one of the most used commands by me :(

An alternative to avoid this mess is to start the XServer and use gedit/kate to edit the file. However this is not suitable if you want to quickly make few changes in the file.

So I have decided to master vi in one week (hopefully it should be enough).

If you are also in a similar soup and want to learn vi, try out these links

Also this graphical cheat sheet should come in handy !

vi-vim_cheat_sheet

Update

There is a tutorial based on the graphical cheat sheet. You can find it here

If you know any other good sources of information to learn vi, let me know :)

Popularity: 9% [?]

{ 7 comments… read them below or add one }

1 kongmeng 02.02.07 at 9:10 pm

see http://www.vim.org and includes vi for windows. After installing, the vim tutor is a great place to start.

2 Venu 02.07.07 at 8:07 pm

kongmeg, thanks for that link :)

3 Craig Cobb 02.26.07 at 10:32 pm

I saw your comments and reference on a blog site, but could not reach the original vi/vim reference at: http://www.viemu.com/vi-vim-cheat-sheet.gif

Would you have another link or copy to forward? Thanks in advance. Enjoyed the graphical cheat sheet!

4 Kernel Source » Hoja de referencia y tutorial sobre vi 03.10.07 at 2:55 am

[...] vi/vim Graphical Cheat Sheet (Online Diary) PDF [...]

5 Whatever-ishere 11.21.07 at 9:21 pm

thanks for the GREAT post! Very useful…

6 vi - the powerful Linux/Unix text editor | amit-agarwal.co.in 09.15.08 at 1:23 pm

[...] to serious things- References: 3) Linux cheat sheet: http://www.lagmonster.org/docs/vi2.html 4) http://www.venukb.com/2007/01/28/vivim-graphical-cheat-sheet/ 5) [...]

7 vi reference links | amit-agarwal.co.in 09.15.08 at 6:14 pm

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>