Vim /
SavingAndClosingFileVim.SavingAndClosingFile HistoryHide minor edits - Show changes to markup August 29, 2007, at 07:08 PM
by
Added line 8:
Added line 10:
=] Added line 13:
Added line 15:
=] Changed lines 18-20 from:
:n,mw >>file to:
Changed lines 23-25 from:
:q to:
Changed lines 28-30 from:
:q! to:
Changed lines 33-34 from:
ZZ or :wq Saves and exits VI to:
Kaynaklar:
August 29, 2007, at 07:07 PM
by
Changed line 5 from:
to:
=] August 29, 2007, at 07:06 PM
by
Added line 3:
Added line 5:
August 29, 2007, at 07:06 PM
by
Added lines 1-22:
Saving and Closing a file:w Saves current file but doesn't exit :w file Saves current content as file but doesn't exit :n,mw file Saves lines n through m to file :n,mw >>file Saves lines n through m to the end of file :q Quits VI and may prompt if you need to save :q! Quits VI without saving ZZ or :wq Saves and exits VI |