2015-08-23

VIM - How to save each line of a file into a separate file, numbered

:g/./execute '.w '.line('.').'.FILE_EXTENSION'
 

No comments:

Post a Comment