Is there a quick keyboard shortcut or Command Palette function to quickly jump to the parent/enclosing function?

So if the cursor is in a function, then I want to quickly jump to the first line of that function.

I looked around but was unable to find such a shortcut.

3 Answers 3


Jump to matching brackets is easy!

Stand on some braces(brackets, parentheses) and press: Ctrl+M(Mac ^+M).

File members

enter image description here

Press Ctrl+R(Mac +R) to see list of file members(variables, functions, methods, etc...)

  • Ctrl+R(Mac +R) was very helpful for me - I came across this post trying to find a way to see the current "scope" of where my cursor was (ie the containing function). This allowed me to do that and then press Esc to get back to the cursor position. Jun 13, 2019 at 2:58

On Windows, press CONTROL + R which lists all the functions in the file with the current function selected. Now, Press ENTER


Sublime Move By Symbols allows you to navigate between symbols, so if your cursor is inside a function, then ctrl+up will move it to the function name.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.