[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how do you save a buffer out as a file in vim?



Hi,

 

I want to be able to open one file in vim (vim file1), copy some arbitrary
lines (v, down arrow, yy), and then save that buffer out as a file (file2).

 

What is the ":" command to save out the buffer?

 

Thanks,

 

Drew





Reply to: