Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a command to move up and down the sidebar file list in sublime text?

Tags:

sublimetext2

I use the sidebar a lot in sublime text and I want some quick way of moving up and down the list ( preferably with a keybinding but if there is some command then I'm sure I can bind it).

For instance if I have 10 files in a folder then I can click on one and view it, but then I have to pick up the mouse to view the next or previous file. I want to be able to move to the next or previous file in the list.

I know I can use ctrl-p to search for the file but I was hoping to have a keyboard shortcut to simply move to the next file. Is there anything like this?

like image 881
byronyasgur Avatar asked Jan 01 '13 13:01

byronyasgur


People also ask

How do you move up and down in Sublime Text?

CTRL-SHIFT-UP (PC) or CTRL-⌘-UP (Mac) moves a line up, while CTRL-SHIFT-DOWN (PC) or CTRL-⌘-DOWN (Mac) moves a line down.

How do I toggle the sidebar in Sublime Text?

Press and hold ctrl/command. Then press k, then b without releasing ctrl/command.

Which is shortcut key for Toggle sidebar in sublime editor?

When using Sublime Text 2 we tend to open the side bar to navigate thru files/folders in our projects. For that we can use the hotkey ctrl+k ctrl+b (in windows).


2 Answers

If you focus the sidebar with Control+0 you can use the arrow keys to move up and down through the files. Right Arrow will open a folder and Left Arrow will close it.

like image 158
Liam Cain Avatar answered Oct 12 '22 10:10

Liam Cain


alt-1 , alt-numbers? for switching between tabs? open all 10 files first :P

like image 36
Lokkio Avatar answered Oct 12 '22 11:10

Lokkio