Answers for "vim go to line"

9

vim move to specific line

# Basic syntax:
<number>+G # In Vi/Vim, type a number and hold down shift+g

# Example usage:
50G	# Moves you to line 50 in the document
Posted by: Guest on October-10-2020
0

vim go to line

:10
// if the line number is 10
:<line number>
// replace <line numeber> with the line numer :^)
Posted by: Guest on July-05-2021

Browse Popular Code Answers by Language