vi/vim Graphical Cheat Sheet

Linux, Tips n Tricks

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 🙂

4 comments… add one

  • kongmeng Feb 2, 2007

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

  • Venu Feb 7, 2007

    kongmeg, thanks for that link 🙂

  • Craig Cobb Feb 26, 2007

    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!

  • Whatever-ishere Nov 21, 2007

    thanks for the GREAT post! Very useful…

Leave a Comment

Cancel