-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Move tabs in list order (not MRU) using Cmd-Shift-[ or ] #6273
Comments
Should be easy to implement using the functions currently used for sorting with drag and drop sorting. |
@danielfeelfine - do you mean switching between open documents? If so, we currently already have Ctrl-Tab/Shift-Ctrl-Tab mapped to that functionality. We could consider adding this as an alternate shortcut if it's common though. (Interestingly, it looks like Mac Chrome has yet a third shortcut for this--Cmd-Alt-right/left arrow. I'm guessing that historically this has been mapped to a lot of different shortcuts in different popular apps, and Chrome just decided to support all of them...) Low pri to @larz0 to consider. |
I thought he was suggesting for a way to sort the tabs using the keyboard? |
@njx Yes this shortcut is supported by google chrome what I mean. This is very useful, using cmd + alt + (left or right) or cmd + shift + {or} |
IE, Safari, Chrome and Firefox all have ctrl+tab / ctrl+shift+tab, which are the same shortcuts Brackets uses but Brackets also has cmd+shift [ / ]. In addition to those shortcuts Chrome and Firefox also have cmd+opt left arrow / right arrow. Personally I prefer cmd+opt left / right arrow because it feels better for some reason. Maybe we can replace cmd+shift [ / ] with cmd+opt left / right arrow? |
We could also add more shortcuts to the command... that is pretty easy to do. |
Brackets is so versatile :) |
Hehe... it is :) |
Now is working for me, but is instead the right goes to left and left to go right. |
Let's add cmd+alt left/right 👍 |
Reviewed. It looks like we do have Cmd-Shift-[ / ] in Brackets now, but it doesn't do what it does in other apps: it follows the MRU order like Ctrl-Tab, but it should just move in working set order regardless of MRU. It seems like Cmd-Alt-left/right should do the same. So, we should do two things: (1) map Cmd-Shift-[ / ] to a new command that moves in working set order rather than MRU, and (2) add Cmd-Alt-left/right arrow to map to that same (new) command. Also, it seems like we should only do these on the Mac, since it doesn't seem like they are standard on Windows. To @peterflynn since he has an extension that implements this behavior already. |
I vote for Cmd-Shift-[ / ] mapping to list order in sidebar. |
When using the File Navigation Shortcuts extension, and having split panes, Cmd-Shift-[ / ] will only go through your current panes files. And since there isn't a shortcut to switch pane focus I still have to either use my mouse or use Control-Tab to get to a file in the other pane. I would hope that what ever the solution for this issue is, it would not behave in this way. It would be nice if the shortcut would jump to the next file in the list across panes as well. |
This is very useful. Other applications containing tabs such Sublime Text, Chrome etc use this trick, it helps a lot. I think it is essential.
Is there any idea how to implement? Or there is already an extension that does this?
The text was updated successfully, but these errors were encountered: