New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable keyboard control of native tabs in MacOS #2740
Comments
You have also tabs within windows (file tabs) so I don't think that the naming you've proposed would work. As for using CMD+`, I don't think that OS will allow using that as it is used for switching between separate app windows. When windows are combined into native tabs, I don't think it applies anymore. I might be won't but I remember testing it before on some native app. That said, I'm very interested in this issue too, as not being able to switch native tabs using keyboard kinda makes that feature useless for me. |
RE: the CMD+` shortcut, if I disable native tabs, then CMD+` works as expected, it allows me to cycle thru open sublime windows .. i think that for most users who decide to enable native tabs it is natural to expect CMD+` to instead cycle thru the native tab stack because in this context the native tabs are containers for sublime windows but to give users control over this, perhaps it could be configured via a setting RE: tabs within windows, we already have various named commands that can be mapped to the keyboard like { "keys": ["ctrl+tab"], "command": "next_view_in_stack" }, i don't particularly care what the command is called .. 'show_next_tab' corresponds to how its worded in the Window menu .. but it could be called 'show_next_window' or whatever makes sense |
I like the idea of adding commands for this, but to continue being a good citizen on OS X, we shouldn't override the OS-level shortcuts of |
this sounds good to me |
Would it be possible to also add native tab commands for selecting a specific native tab? You can currently do this with non-native/file tabs via the |
Sorry but I have to ping this (even though I know it probably won't do much) as this being missing frustrates me every day as I have to reach to mouse every time I want to switch to different native tab. I just need a command I could bind myself, it doesn't need to be enabled by default. On Mac, I would remap |
@rchl, you can always set up keyboard shortcuts on your Mac:
|
@srbs pretty amazing. One problem with it is that I can't pick the shortcut I wanted as it won't work if given shortcut is already handled by the app. I wanted to use cmd+alt+left which is defined to execute Thanks a lot. |
I used ctrl+alt+cmd + left and right arrows |
This is now fixed in ST4 (not sure in which build). The default keybindings provide: { "keys": ["ctrl+alt+tab"], "command": "next_os_tab" },
{ "keys": ["ctrl+alt+shift+tab"], "command": "prev_os_tab" }, and I've been running with those overridden to cmd+alt+left/right for a while now. { "keys": ["super+alt+left"], "command": "prev_os_tab" },
{ "keys": ["super+alt+right"], "command": "next_os_tab" }, |
Fixed in Sublime Text 4. |
Problem description
In MacOS you can use the keyboard to cycle thru all open windows within an application. The Window menu currently provides "Show Next Tab" and "Show Previous Tab" functionality but no keyboard shortcuts (or at least I can't figure out what they are).
Preferred solution
Cmd-`
toggles through the windows forward.Cmd-Shift-`
toggles through the windows in reverse.Alternative solution
Provide a command that would allow users to create their own keyboard mappings (i.e. 'show_next_tab' and 'show_previous_tab'
for example:
{ "keys": ["super+`"], "command": "show_next_tab" }
The text was updated successfully, but these errors were encountered: