Vim
From WikiPaul - Paul Swanson's wiki
Basic Vim
There are two modes - Command mode and Insert mode. Vim starts in command mode; that is, you can type commands. To type text, press i for insert. You can then type as in a normal text editor. To exit insert mode, press esc.
Useful commands
| Save/write | :w |
| Quit | :q |
| Save and exit | :wq |
| Search down | /search |
| Search up | ?search |
| Next search term | n |
| Search for word under cursor | * |
| Search/replace | :s/search/replace/ |
| Global search/replace | :%s/search/replace/g |
| Undo | u |
| Jump to line number | :linenumber |
Copy/paste
- Press v to enter text-selection mode
- Arrow to the end of where you want to copy/cut/paste (you can do searches and whatnot here)
- Press y to copy or c to cut
- To paste, press p
- Press yy to copy an entire line
- p to paste
BlogMarks
del.icio.us
digg
Fark
Furl
Newsvine
reddit
Segnalo
Simpy
Slashdot
smarking
Spurl
Wists