Sublime Forum

How to edit side bar navigation?

#1

I like a lot navigating the project folders with the keyboard, but there is one thing I’d like to fix:
pushing the “left” cursor key does nothing if a file is selected in the tree. I want to change its behavior to “jump to parent folder”.
I want it because it would be much more convenient to fold the file list with two “left” keypresses rather than climbing all 300 files up to parent folder.

0 Likes

#2

on mac using the left arrow jump back to the parent folder, maybe its diff on windows ?

0 Likes

#3

I just did some testing on my Windows machine, my Linux box and my MacBook, and the arrow keys seem to do the same thing to navigate the sidebar regardless of the platform; Up and Down move the selection up and down, Left and Right on a Folder folds and unfolds the folder, and Left on a file jumps the cursor to the containing folder.

How are you starting your navigation in the sidebar? If you focus the sidebar by clicking on a file or folder, you’re not giving the sidebar the focus, you’re just picking a file. Instead you need to click either in the area below all of the open files and folders or use the keyboard shortcut Ctrl+0to focus the sidebar instead.

1 Like

#4

note that there was a bug in build 3143, but it has been fixed in 3153:

2 Likes

#5

I’ve just tested it again.
Sublime 3.0 3143, OSX High Sierra 10.13.4

Pressing left on a folder sends the cursor to the parent folder. But doing that on a file — doesn’t. :frowning:

I’ve recorded part of the screen to show you: http://recordit.co/sHYwosio7a

I’m sorry, but it looks like the issue has to be re-opened.

0 Likes

#6

why? it was only fixed in 3153. 3153 > 3143

0 Likes

#7

-My editor says there are no updates. Do I need to stick to beta/nightly?-

ok. downloaded dev-build. Now it works. Thanks.

0 Likes