Sublime Forum

Scroll to the current file in Folders pane?

#1

Is there a hotkey or command to automatically scroll to the currently focussed file in the Folders pane on the left hand side? I know I can manually scroll up and down until I see the currently focussed file highlighted in the Folders pane, but it would be really really handy to have a hotkey that just takes me there. In the case of small projects, manually scrolling isn’t a problem, but with large projects it’s a pain in the backside.

0 Likes

#2

if you look at Packages/Default/Context.sublime-menu, you’ll see:

{ "command": "reveal_in_side_bar", "caption": "Reveal in Side Bar" },
2 Likes

#3

ctrl+0 also reveals and focuses the side-bar.

1 Like

#4

I am using the following key binding to quickly reveal them without changing focus.

	{
		"keys": ["f2"],
		"command": "reveal_in_side_bar"
	},
1 Like

#5

This is the best solution for me, thank you. Fast and easily remembered.

0 Likes