How to save range of lines to a file in vi editor