user3213420
user3213420

Reputation: 361

keyboard shortcut to jump to cursor

What is the keyboard shortcut to jump the editor view back to where my cursor was last placed?

For example I often scroll to the top or bottom of the editor view other parts of the code, and I would like to be able to quickly jump back to the last section I was viewing.

Upvotes: 1

Views: 542

Answers (1)

CrazyCoder
CrazyCoder

Reputation: 401965

Scroll to Center looks like what you need.

Ctrl+M on Windows, not set by default on Mac, but can be customized in the Keymap.

If you are not in the editor, you will need to hit Esc first to focus it.

There is also Navigate | Last Edit Location, but will navigate you to the last place you've edited, not just viewed.

Upvotes: 3

Related Questions