As I don't use vi all that much and certainly not for my primary editor, I can't remember any of the vi commands. Does anyone have a recommendation for a quick start guide or command summary?
8 Answers
This is the best to keep in your desk, full of coffee works great :-)
(source: thinkgeek.com)
I also like the VI Editor Pocket Reference book.
Learning the vi editor by Arnold Robbins and Linda Lamb
A little companion for quick reference (by A. Robbins) is also available.
-
1
-
LOL, they must have got out of known animals some years ago, so probably they resorted to a zoology text :D Nov 3, 2008 at 1:16
-
Not to mention sed & awk: amazon.com/sed-awk-2nd-Dale-Dougherty/dp/1565922255 Are those some kind of monkeys? Nov 3, 2008 at 1:24
-
2I like very much the 7th Edition, has great chapters about Vim... tinyurl.com/5fjajp Nov 3, 2008 at 1:32
-
@Frederico: WTH?? Those things are scary looking. Like wingless bats or something. :) Nov 3, 2008 at 3:01
A good cheat sheet you can print out is here: http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html
type vim-tutor
-
1
-
3Vim's documentation is extremely well-written and points out every time something works different to vi (or "compatibility mode"). Jul 21, 2009 at 12:56
It is a html version of the help also available from vim itself with the :help command.
I started to use vi recently. One way to get references is to bookmark some commonly used commands:
- VIM Introduction and Turoial. I referred to this many times at the beginning. Now I use it less often
- VIM Quick References Card. Quick reference by groups.
I added some links like those to my foxmarks so that I can sync these links at home and work.
Excellent book, and links in other answers. If you are in Vim, don't forget the old faithful:
<ESC>:he<Return>