11 ms·
I have this feature in sublime text & Atom and absolutely hate it. I feel like ctrl + tab has to move to next tab & ctrl + shift + tab should move to previous
by ohstopitu 10y ago
I have this feature in sublime text & Atom and absolutely hate it.
I feel like ctrl + tab has to move to next tab & ctrl + shift + tab should move to previous tab (cycle if it reaches the end).
I feel like that's more predictable behaviour.
- abusque 10y agoI don't know about Firefox or Atom, but in Chromium you can achieve that via Ctrl-PgUp and Ctrl-PgDn.
- tdkl 10y agoWhich is a pretty dumb shortcut to use one handed and compared to alt+tab.
- snorrah 10y agoProbably pretty nice for left handed mouse / trackpad users though.
- paublyrne 10y agoOn Mac at least you can use Command Shift [ and ]. Which is the same as in the browsers.
- abhinavk 10y agoI have never seen a keyboard which doesn't have a Ctrl on the right side.
- bzbarsky 10y agoTons of laptop keyboards. Of course lots of those have no PgUp either.
- deleted 10y ago[deleted]
- tdkl 10y agoSure, but there's way more distance between Ctrl and PgUp then Ctrl+Tab (I'm taking a classic desktop keyboard in the account now). There are quite some more compact models where PgUp/Down are between the NumLock and - on the right side with the Numpad. Not to mention you'd need to set the hand from one end of the keyboard to the middle, just to press something you'd otherwise move 1 key. As I said, it's dumb.
- ygra 10y agoIt exists for ages already, though. You use the same shortcuts to cycle tabs in dialog boxes. And that goes back to at least Windows 95, if not further.
- pritambaral 10y agoEvery non-macOS browser I've used supports those shortcuts. They're old enough to be universal among tabbed browsers.
- bruce_one 10y agoI know I can ctrl-pgup/down in Firefox (it's the best alternative to alt-tab afaict) but on one of my laptops it's incredibly impractical (pgup/down is way up the top right), and on the other pgup/down is in a practical, but very different, location to tab so it's "disjointed" in my mind (ie "do I want to go mru? ctrl-tab; do I want to go ltr/rtl? alt-tab" they're still in the same area, and hence it seem logical/simple to switch between those options often, whilst pgup/down seems very different?) (And then meta-tab is also hanging out there, being simple and ready for an alternative context switch (mostly browser <-> terminal).)
- cpeterso 10y agoIs there a way to disable this ctrl+tab behavior in Sublime Test? I can't stand it either.
- ohstopitu 10y agoI guess people are down-voting you because it's a simple google search away. However, to answer your question: On Atom, I've set ctrl + tab to remap to pane:show-next-item, and ctrl + shift + tab to pane:show-previous-item. (view your keymap, and see what ctrl + page-up/down is bound to, and then bind it to ctrl + tab /+ shift) Edit: here are my settings: 'body': 'ctrl-tab': 'pane:show-next-item' 'ctrl-tab ^ctrl': 'unset!' 'ctrl-shift-tab': 'pane:show-previous-item' 'ctrl-shift-tab ^ctrl': 'unset!'
- hughes 10y agoThe problem with this feature is that it depends on hidden UI state. With the "last used" behavior there's no way at a glance to know which tab will be activated when pressing ctrl-tab, so you either have to maintain the state in your head, or guess-and-check how many times to hit the key combo. If you only have a few tabs open, it can be useful in conjunction with Ctrl-[1-9], but I am also still strongly in the next/prev tab camp.
- pritambaral 10y agoPressing Ctrl-Tab once without letting go of Ctrl shows you a graphical overlay of most recently used tabs. If you don't like what you see, just add one Shift-Tab to your already pressed Ctrl.
- davidwparker 10y agoI agree. It's the worst! I don't use ST, but at least in Atom, I know you can easily override it in your keymap: 'body': 'ctrl-tab': 'pane:show-next-item' 'ctrl-tab ^ctrl': 'unset!' 'ctrl-shift-tab': 'pane:show-previous-item' 'ctrl-shift-tab ^ctrl': 'unset!'
- bruce_one 10y agoIt's all personal preference, but since Opera 12 I've been addicted to ctrl-tab for most recently used switching (Opera 12 had a nice tab switcher that made the interaction very understandable/manageable), and then alt-tab for switching in "physical" order. (I run a large number of tabs, and quickly switching between two (or a small number) that I've used recently seems to be a common interaction for me - but then being able to look at favicons and traverse quickly to a closely located tab too (is less crucial, but important enough that I don't use FF (because I can't remap that alt-tab interaction simply).) And I love it :-p It is literally the reason (in combination with "open new tab next to current") I use the browser I do (Vivaldi; would consider Opera, but it doesn't/didn't do "open new tab next to current"). To each their own :-)
- ohstopitu 10y agoa feature that I've loved about Vivaldi (and vimium on chrome) is the spotlight like search for tabs. When you run a lot (~30-40) of tabs, that's an killer feature right away!
- replax 10y agoPentadactyl for Firefox also allows that (press 'b') and it's absolutely amazing. Way quicker than searching for the tab visually and manoeuvring the mouse to it on a notebook.
- kuschku 10y agoActually, Firefox has it natively since 48. Just enter the title in the URL bar, and it'll suggest going to that tab.
- TheDong 10y agoFirefox has had it native since firefox 4. See this article: http://kb.mozillazine.org/Location_Bar_search#Location_Bar_search_.28internal_-_Auto_Complete.29 http://kb.mozillazine.org/Location_Bar_search#Location_Bar_s... You can enter "% string" into the location bar, and it will suggest switches to open tabs which contain that string either in their title or URL. I've been using this little-known location bar feature for a long long time.
- rbinv 10y agoCan be fixed in Sublime Text as follows: { "keys": ["ctrl+tab"], "command": "next_view" }, { "keys": ["ctrl+shift+tab"], "command": "prev_view" }
- baby 10y agoCtrl+shift+P then type "key bindings user"
- spartanatreyu 10y agoCmd+Shift+P for MacOS. Also Preferences -> Key Bindings works too but I'd encourage everyone to get used to the command palette for all sorts of commands like Set Syntax and Package Control
- Aardwolf 10y agoSeems to be a subjective preference indeed then :) Usually when programming, the most relevant are the last source files I viewed, e.g. a source file and its header file. I love ctrl+tab switching between most recent files this way. Same in a webbrowser with related articles. Don't see a use of a next/prev in the list tab shortcut myself, it's not like tabs are ever in some particular order for me :)
- paulddraper 10y agoYep. I want to be able to predict where ( Ctrl + Tab ) x 3 where take me.
- saulrh 10y agoWhen browsing, I actually use both behaviors in different cases. C-<tab> and C-S-<tab> to cycle linearly, and then I use vimium shortcuts for more advanced navigation. So I survey tabs by tabbing through them, but when I'm going back and forth between two or three (citing things, for example) I use LRU-type features. Forcing people to use one or the other, regardless of which, is going to make them angry.
- eriknstr 10y agoI hope I can disable this feature in Firefox about:config.
- kw71 10y agoCtrl + PgUp , Ctrl + PgDn
- joesb 10y agoI use Ctrl+Tab to switch between two tabs I'm working on. If I want to go to specific file, I'd just Ctrl+P and type in the filename. Using Ctrl+PageUp/Down to scroll through all open tabs is predictable but kinda useless since I have 20+ tabs opened after a while.
- trymas 10y agoYes. In iTerm2 as well, (shift+)ctrl+tab jumps across recently used tabs. Holy hell how it's confusing and I am used to use (shift+)ctrl+tab in Chrome so switching between Chrome and iTerm2 while web developing sometimes is frustrating. If I want to switch between 2 tabs quickly - I set them side by side and it solves the problem for me.