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.
on windows, it is by default Ctrl + Home to go to the beginning of a file and Ctrl+End for the end.
You navigate to the top of the file using Ctrl + Home .
Switch between tabsIn the editor, press Ctrl+Tab . Keep pressing Ctrl for the Switcher window to stay open. Use Tab to switch between tabs and other files.
To navigate forward, press Ctrl+Alt+Right . To navigate to the last edited location, press Ctrl+Shift+Backspace . To find the current caret location in the editor, press Ctrl+M . This action might be helpful if you do not want to scroll through a large file.
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
:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With