Skip to main content
Noble Desktop/1 min read

Go To Line in Sublime Text

Go To Line Shortcut

Mac

Cmd-G — opens the Goto Line dialog.

Windows / Linux

Ctrl-G — same dialog across platforms.

Type the Line Number

Hit Enter to jump straight there.

Combined with Goto Anything

Cmd-P then type :42 jumps to line 42 in any open file.

Master Web Development at Noble Desktop

Noble Desktop's Full-Stack Web Development Certificate covers HTML, CSS, JavaScript, and the modern web stack.

In Sublime Text, you can quickly jump to any line in the code. Hit Ctrl–G (Mac and Windows). Type in a line number and hit Return/Enter to go to that line.

Ct goto line

Learn more Sublime Text Coding Tips. These coding tips are covered in our hands-on coding classes and bootcamps in NYC.