Sublime Forum

Side Bar keyboard navigation (bug?)

#1

Linux Mint and Windows 7. ST3 build 3087, but probably unimportant.

I normally stick to the keyboard when using ST, avoiding the mouse. When moving the “cursor” in the Side Bar to open a file, I have noticed that ST does not move from the current position but seems to move from the position of the last opened file. Example:

Side Bar should be visible throughout.

  1. Launch ST with a directory containing three files, say A, B and C.
  2. Open file A, then file B. File B is now highlighted in Side Bar.
  3. Switch to file A in the editor pane. File A is now highlighted in Side Bar.
  4. Focus on Side Bar using keyboard (Ctrl+0). File A still highlighted.
  5. Use arrow key to move “cursor” down.

Instead of moving to file B as expected considering the highlighted file A it goes straight to file C as if the starting point was file B (last file opened).
This often results in some surprising “jumps”.
Should this be considered a bug or a “feature”?

1 Like

#2

I’ve noticed this too.

I expect the same as you. The jump is surprising. It can interrupt a train of thought.

I can’t imagine many will like the current behaviour. If enough do, then it should be setting disabled by default.

0 Likes

#3

No more comments on this?

0 Likes

#4

ST build 3117 still functions as described in the OP. I can certainly live with it even though it annoys me every day.

Bug or “feature”? What do you think?

0 Likes

#5

I’ll bump this topic one last time, hoping to get a few comments.

0 Likes

#6

I think it’s a bug. Looks like there are a couple of sidebar bugs. Maybe related: https://github.com/SublimeTextIssues/Core/issues/301 But I think you should log this one separately at https://github.com/SublimeTextIssues/Core/issues

1 Like