September 2009
Beginner
942 pages
85h 34m
English
write
[address] w[!] [[>>]file]
Write lines specified by address to file, or write full contents of buffer if address is not specified. If file is also omitted, save the contents of the buffer to the current filename. If >> file is used, append lines to the end of the specified file. Add a ! to force the editor to write over any current contents of file.
:1,10w name_listCopy first 10 lines to file name_list:50w >> name_listNow append line 50