Tag 12/08/2008
o : creates a new, empty line below the cursor and puts Vim in Insert mode.
w : move the cursor forward one word.Like most Vim commands, you can use a numeric prefix to move past multiple words. For example, "3w" moves three words.
e : moves to the next end of a word.
b : moves backward to the start of the previous word.
^ : moves to the first non-blank character of the line.
$ : moves the cursor to the end of a line
+---------------------------+
H --> | text sample text |
| sample text |
| text sample text |
| sample text |
M --> | text sample text |
| sample text |
| text sample text |
| sample text |
L --> | text sample text |
+---------------------------+
ZZ : save and exit.
CTRL-G : get a message like this (assuming the 'ruler'option is off):
"usr_03.txt" line 233 of 650 --35%-- col 45-52
Tag 12/20/2008
~/.bashrc
alias vi='gvim'
~/.vimrc
Tricks:
Alt+F10 Maxisize window
Ctl+i Go into selected file
Ctl+o Go back