Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sublime Text 3: Find my cursor after scrolling?

So, while using Sublime Text 3, I often find myself scrolling through a file looking for some function, but then wishing to return my viewport to wherever I left my cursor. Unfortunately, I frequently have no idea where I left the cursor and I end up having to scroll endlessly just to figure out where I was.

To solve this problem, is there any way to enable cursor tracking in the minimap (so I could just click that spot and go back)? Or alternatively, is there a shortcut that will center the screen around my cursor?

like image 521
Funktr0n Avatar asked Jan 08 '23 21:01

Funktr0n


1 Answers

Just move the curser by pressing right-arrow left-arrow and the view will scroll to it.

This works with almost any editor.

like image 185
Bernd Elkemann Avatar answered Feb 24 '23 22:02

Bernd Elkemann