Vim: writing nonconsecutive groups of lines to another file.
kernel 184.108.40.206, slackware 12.0
To export a group of consecutive lines to another file, I usually do ':w <file_name>'. But suppose the lines are not consecutive like I want to write lines 4-6, 31-45 to another file. Will the :w command do? Or I need another command?