Vim — save all lines to separate file named line number.txt 30.01.2016 :g/^/execute ‘.w ‘.line(‘.’).’.txt’