DEV Community

Discussion on: Go to line number in a file using vim

Collapse
 
jvanz profile image
José Guilherme Vanz

Nice tips! I did not know the SHIFT+g one. :)
Another option I used a lot is the vim my_super_long_file.py +3842. Thus, vim open the file and jump directly to line I've specified in the command line. Thanks for you article!

Collapse
 
flaviabastos profile image
Flávia Bastos

And I did not know about the option of opening on the line! Thanks for sharing!