Other Items on Vim
Installation
- Vim.org: The main vim page
- Download gvim73.exe to install on windows
- Two versions:
- Command line: vim
- GUI: gvim
- On Windows, you will probably want to choose the batch files option to get a
command line version of vim
- Note for students in ITEC 320: Vim ada make command requires a project file
- fixes are described in the 320 pages
Online References and Other Stuff
- Vim.org: The main vim page
- My Reference Page (lots of commands, operators, motion, objects)
- Other cool things:
- Vimperator
- shell vi key bindings put bindkey -v in .cshrc
(works in tcsh; don't know about others)
- Dr. Chip's Vim Page has lots of nice stuff
- User Manual and other documentation is
here
- From within vim, get User Manual with :h user-manual
- From within vim, get Quick Reference with :h quickref , or do a search for vim quickref
- Web search
- Wikipedia
- Some reference pages:
Books
Advice
- Use help, vimtutor, online manuals, and the web
- Learn frequently used operations until they are muscle memory:
- Basic movement - character, line, word, screen, top, bottom: hjkl, w, e, ^F, ^B, gg, G
- Input: i, a, A, o, O, r, R
- Changing characters (r, R), words (cw), lines (cc, C)
- Delete: x, dw, dd
- Search: /foo, ?, n, N, f, F, t, T
- Substitute: :s/old/new, :%s/old/new/gc
- Yank and paste: yy, Y, p, P
- Swap lines and characters: ddp, xp
- Use counts
- Undo, redo: u, ^R
- Help: :help
- Ranges/blocks: v, V, ^V
- Use operators with movement, text blocks, ranges
- <TAB> completion (supertab plugin may be required)
- Add new commands as needed
- The more you learn, the easier it is to learn (because it's well designed)