Vim: writing nonconsecutive groups of lines to another file.
kernel 2.6.21.5, slackware 12.0
vim 7.1
Hi:
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?
|