Submitted by BlueViper on Tue, 30/08/2005 - 06:30.
Horizontal Movements
| right arrow , l | right one character |
| left arrow , h | left one character |
| 0 | beginning of the line |
| $ | end of the line |
| w/W | beginning of next word/bigword |
| e/E | end of next word/bigword |
| b/B | begining of prev. word/bigword |
| (/) | beginning of prev. /next sentence |
Vertical movements
| up arrow , k | up one line |
| down arrow , j | down one line |
| PgUp , ^B | up one page |
| PgDn , ^F | down one page |
| (number)G | go to line (number) |
| /string | find string |
| n/N | repeat search forewards/backwards |
Open, Save & Quit
| :q | quit |
| :q! | quit,throw away changes |
| :w filename | save as filename |
| :x | quit + save |
Windowing
| :sp | split frame window |
| ^w^w | go to next window |
Modifying text (but keeps you in command mode)
| x | delete character under cursor |
| j | join next line to end of current line |
| r(character) | replace character under cursor by (character) |
| dd | delete current line |
| d(move) | delete from cursor to (move) |
| u | undo |
| . | repeat last edit command |
Editing the text
| a | edit the text |
| Esc | return you back to command mode |
ما حدث فى اللقاء Wiki Syntax
|