Kirika's Notes
Blog Archive
►
2011
(1)
►
January
(1)
►
2010
(1)
►
March
(1)
►
2009
(11)
►
August
(5)
►
March
(1)
►
February
(3)
►
January
(2)
▼
2008
(12)
►
December
(5)
►
July
(1)
▼
March
(4)
精通 vi - Chap 3 快速移動位置
精通 vi - Chap 2 簡單的文字編輯
精通 vi - Chap 1 vi 文字編輯器
精通 vi
►
February
(2)
►
2007
(16)
►
August
(1)
►
May
(2)
►
March
(2)
►
January
(11)
►
2006
(19)
►
December
(19)
Sunday, March 02, 2008
精通 vi - Chap 1 vi 文字編輯器
開檔
> vi [filename]
儲存
:w
:w [new filename] (另存新檔)
:w! (強迫寫入)
:w! [filename] (強迫寫入或蓋掉另一檔案)
結束並儲存
ZZ
消除編輯結果,回到原檔案
:e!
結束但不儲存
:q!
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
About Me
Kirika's Homepage
No comments:
Post a Comment