vi
quit without saving : quit by saving : switch to ctr line : insert (write text) : insert (write text) : delete a char : delete a line : delete 5 line : delete lines 2 through 6 : show line numbers : copy a line : copy 3 lines : copy lines 7 through 9 : paste : cursor up - down: cursor left - right : page up - down : move to first line : move to 15th line : move to last line : find : next - previous : |
:q! :wq esc i a x dd 5dd :2,6d :set number yy 3yy :7,9y p - j j - k h - l f - b 0 15G G / n - N |
|
vi Commands | ||
vi Commands 2 | ||
vi Commands Summary | ||
Mastering vi Commands | ||
Using vi | ||