How to jump the top of the file in PhpStorm?

Shaun Moss picture Shaun Moss · Oct 7, 2012 · Viewed 12.1k times · Source

Does anyone know if there's a shortcut key on Mac for going directly to the top of the file? (Or, for that matter, the bottom?) I can't find one so for now I'm using Cmd-G, 1.

Thanks.

Answer

CrazyCoder picture CrazyCoder · Oct 7, 2012

Cmd+Home / Cmd+End

If your keyboard lacks Home/End keys, use fn+/fn+ (reference)

You can always change the default shortcuts in PhpStorm Preferences | Keymap:

enter image description here