Thursday, June 2, 2011

vi editor shortcuts

Navigation:
·         End of file: G
·         Beginning of file: 1G
·         Go to 10th line: 10G

Delete:
·         dG – will delete everything from the cursor to the end of the file
·         d$ - will delete everything from the cursor to the end of the line

No comments:

Post a Comment