vim move to specific line

C++
# 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
Source

Also in C++: