Friday, September 9, 2016

vi editor copy, paste and new line

Copy and paste command in vi editor

yy - It will copy the entire line
p - It will paste the copied line after current line
P - It will paste the copied line before current line


Create new blank line in vi editor

o - It will open new line after the current line
O - It will open new line before the current line

No comments:

Post a Comment