Sublime Forum

How Can i to jump between the line?

#1

Hello guys, i have a simple question!

How Can i to jump between the line?

if i am in the line 189 and i wanna to jump to 1389 quickly how can to do that?

what’s the command?

0 Likes

#2

ctrl+g by default (or in the menu Goto :stuck_out_tongue: )

0 Likes

#3

Hey Thank you but i can use the mark for that or another command?

Ctrl + K + space is for what?

0 Likes

#4

Windows: Ctrl + P + :

Mac: Command + P + :

Type the line number you want to go to after the colon and then press enter.

0 Likes

#5

Ok maybe you want to use bookmark ? ctrl+F2 to add toggle bookmark on a line and then F2 to jump to the bookmarks

The mark (ctrl+k,ctrl+space) is more used to do some text selection/delete even though there is also a command to go to the mark ctrl+k,ctrl+c.
In this case the main difference is there is only one mark per file, while you can have multiple bookmark

1 Like

#6

Ctrl + K + space is for what?

With this you set mark (notice the dot in the gutter). When mark is set you can toggle between cursor and mark with Ctrl + K, Ctrl + X. On every press cursor will move to the mark and mark will move to the cursor’s position. It’s a tricky thing. Unfortunately if the mark isn’t visible Sublime won’t scroll on toggle. Wonder if this behavior is expected.

0 Likes

#7

Yes, This´s i want!!! Thank you Clams!

0 Likes