Recent Changes - Search:

edit SideBar


Firefox 2
Get Thunderbird!

Vim /

SavingAndClosingFile

Vim.SavingAndClosingFile History

Hide minor edits - Show changes to markup

August 29, 2007, at 07:08 PM by 88.255.21.196
Added line 8:

(:code:)[=

Added line 10:

=]

Added line 13:

(:code:)[=

Added line 15:

=]

Changed lines 18-20 from:

:n,mw >>file

to:

(:code:) :n,mw >>file

Changed lines 23-25 from:

:q

to:

(:code:) :q

Changed lines 28-30 from:

:q!

to:

(:code:) :q!

Changed lines 33-34 from:

ZZ or :wq Saves and exits VI

to:

(:code:) ZZ or :wq Saves and exits VI

Kaynaklar:

  • http://www.devshed.com/c/a/BrainDump/A-Look-at-the-VI-Editor/1/
August 29, 2007, at 07:07 PM by 88.255.21.196
Changed line 5 from:

code[=

to:

=]

August 29, 2007, at 07:06 PM by 88.255.21.196
Added line 3:

(:code:)[=

Added line 5:

(:code:)[=

August 29, 2007, at 07:06 PM by 88.255.21.196
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

Edit - History - Print - Recent Changes - Search
Page last modified on August 29, 2007, at 07:08 PM