¢~ùùùùùùùùùùùùùùùùùùùùùùùù¢¡ ùø ¢ä¢× ©R¥O²©ö¨Ï¥Î»¡©ú ùø ¢¢ùùùùùùùùùùùùùùùùùùùùùùùù¢£ ³nÅ鲤¶¡G¸ê®Æ½s¿è³nÅé ¤@¡B«ü¥O®æ¦¡¡G vi filename ¤G¡B¨Ï¥Î»¡©ú¡G(Quick Reference Guide) ¢z¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢¢{ ¢x vi - Quick Reference Guide ¢x ¢x ¢x ¢x % vi demo ¢x ¢x¢z¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢{ : ¢z¢w¢w¢w¢w¢w¢w¢w¢w¢w¢{ character ¢z¢w¢w¢w¢w¢w¢w¢w¢w¢w¢{ ¢x ¢x¢x (EX) ¢x<---> ¢x Command ¢x<----------> ¢x Input ¢x ¢x ¢x¢x Last Line Mode ¢x<---> ¢x Mode ¢x<----------> ¢x Mode ¢x ¢x ¢x¢|¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢}(auto)¢|¢w¢w¢w¢w¢w¢w¢w¢w¢w¢}¢|¢w¢w¢w¢w¢w¢w¢w¢w¢w¢} ¢x ¢x Search Functions: | Screen/Lin Movement: | Add/Append Text: ¢x ¢x | j-¤U k-¤W h-¥ª l-¥k | a Append after cursor ¢x ¢x /exp GO forward to exp | 0 Goto line start | A Append at line end ¢x ¢x ?exp GO backward to exp | s Goto line end | i Insert before cursor ¢x ¢x | % Goto matching | 5i Insert text 5 times ¢x ¢x Move and insert Text: | brace/paren | l Insert at beginning of line¢x ¢x :3,8d Delete lines 3-8 | G Goto last file line | ¢x ¢x :4,9m 12 Move lines 4-9 to 12 | 3G Goto line 3 | Add new lines: ¢x ¢x :2,5t 13 Copy lines 2-5 to 13 | | 0 Open a line below cursor ¢x ¢x :5,9w file Write lines 5-9 to file| Word Movement: | O Open a line above cursor ¢x ¢x | W GO forword 1 word | ¢x ¢x Save File and Exit: | 3W GO forword 3 words | Change text: ¢x ¢x :W Write buffer to disk | B GO back 1 word | CW Change 2 word ¢x ¢x :W newfile Write buffer to newfile| 3B GO back 3 words | 3CW Change 3 words ¢x ¢x :W! File Write absolutely | | C Change line ¢x ¢x :Wq Write buffer and quit | Search Functions: | r Replace one character ¢x ¢x :q Quit editor | n Repeat previous search | R Replace/Type-over a line ¢x ¢x :e Load a fresh copy | N Reverse previous search | ¢x ¢x :q! Quit,discarding buffer | | ¢x ¢x | Delete Text: | ¢x ¢x :Control Edit Session: | x Delete one character | ¢x ¢x :set nu Display line numbers | dw Delete one word | ¢x ¢x :set nonu Turn off an option | dd Delete one ling | ¢x ¢x :set all Show all settings | D Delete to end of line | ¢x ¢x :set List display invisible chars| do Delete to begin of line | ¢x ¢x :set Wm=5 Wrap lines 5 sp from | dG Delete to end of file | ¢x ¢x right margin | 4dd Delete 4 lines | ¢x ¢x | | ¢x ¢x | Cancel Edit Function: | ¢x ¢x | u Undo last change | ¢x ¢x | . Do last change again | ¢x ¢x | | ¢x ¢x | Copy and insert Text: | ¢x ¢x | Y Yank a copy of a line | ¢x ¢x | 5Y Yank a copy of 5 lines | ¢x ¢x | P put below cursor | ¢x ¢x | P put above cursor | ¢x ¢x | | ¢x ¢x | Word processing functions: | ¢x ¢x | J Join next line to current| ¢x ¢x | 4J Join 4 lines to current | ¢x ¢x | | ¢x ¢x | XP Transposes 2 characters | ¢x ¢|¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w¢w-¢} ¡¯ªí¤º¤§¸ê®Æ¸`¿ý¦Û¢á¢ã¢Ü°V½m±Ð§÷--> Introduction to unix system .