Friday, January 5, 2018

Jump to specific line number in vi

1. Display line numbers:

:set nu

2. Jump to specific line number:

:number

e.g.

:20

The above jumps to line 20

No comments:

Post a Comment