copy complete current line: yy replace a char (e.g. comma) to new line: %s/,/\r/g 转载于:https://www.cnblogs.com/cnblogist/p/6125970.html