Search code examples
phpstorm

How to jump the top of the file in PhpStorm?


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.


Solution

  • 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