News for hackers. Stuff that matters.
Re:Firefox 50.0 by ohstopitu on Tuesday November 15, 2016 @03:12PM (#12961731)
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.

Re:Firefox 50.0 by bruce_one on Tuesday November 15, 2016 @03:48PM (#12962069)
It'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 :-)

Re:Firefox 50.0 by kk_cz on Wednesday November 16, 2016 @02:45AM (#12965214)
Check out TabMix Plus extension for firefox - you can set up literally everything about tabs behavior.

(It is literally the reason I will not be leaving Firefox after this Ctrl-Tab moves to most recently used tab abomination :))

Re:Firefox 50.0 by igravious on Tuesday November 15, 2016 @06:47PM (#12963383)
I was trying out the new Opera with its built-in VPN and ad-blocking which I thought were nice default features but the tab switching was driving me bonkers! I could not understand it, it was flicking through recently used first you say? I would never have guessed. To me it just felt random. I want ctrl-tab to cycle sanely left to right and shift-ctrl-tab to cycle sanely right to left. The browser equivalent of alt-tab for app switching. I do not want any application grabbing alt-tab from the system.

I'm joking of course that I think to desire otherwise is insane. Except I'm not. Or am I? :)

Re:Firefox 50.0 by bruce_one on Wednesday November 16, 2016 @02:12AM (#12965109)
Fair point about alt-tab; I didn't quite make it clear, but I'm using DWM with the windows-key as meta, so meta-tab switches between two tags (do that infinitely often (ie, not cycling, just swapping)) and meta-[0-9] for general tag jumping.

Hence, alt was just hanging out being useless :-p (I'm like 95% terminal or browser, so it's a great use of alt to me :-) )

Amusingly, last time I used OSX or Windows properly, I got super grumpy about the fact "(alt|mac)-tab" seemed amazingly inconsistent - I think cause I'd try and switch consistently between two windows, and got surprising-seeming results... I somewhat think I had gremlins :-p

(As I wrote this I actually did a few ctrl-tabs and a few alt-tabs... I hadn't quite realise I used both as often/evenly...)

Re:Firefox 50.0 by ohstopitu on Tuesday November 15, 2016 @03:57PM (#12962139)
a 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!
Re:Firefox 50.0 by Manishearth on Tuesday November 15, 2016 @08:41PM (#12963894)
Aside from the fact that the regular URL bar in Firefox does this, Tab Center (https://github.com/bwinton/TabCenter) puts tabs on the side with a filter-search at the top.
Re:Firefox 50.0 by nevex on Wednesday November 16, 2016 @05:43AM (#12965919)
The search and hide/unhide function seemed interesting to me, but in my opinion the Tree Style Tab add-on is superior. Perhaps that is because TabCenter is aimed at a less technical audience [1]. Hierarchical tab structures are more valuable in my opinion, because it implicitly groups related tabs together. The structure in which tabs are opened reflects my workflow while opening them and allows me to e.g. close all tabs that were related to a certain problem. It does however lack a search function and some sort of versioning, as I find my tab-bar clutter over time. Perhaps a aging approach could be helpful for me, but I have yet to come across something better than Tree Style Tab.

[1] https://github.com/bwinton/TabCenter/issues/498#issuecomment...

Re:Firefox 50.0 by Manishearth on Wednesday November 16, 2016 @11:30AM (#12968545)
Oh, yeah, I'm not pitching this as an alternative to Tree Style. I like Tree Style too.
Re:Firefox 50.0 by scriptdevil on Wednesday November 16, 2016 @04:03AM (#12965477)
This is brilliant! I wasn't aware of tab center. The best part is that it works really well with tabgroups too.

However, I am unable to use it through the keyboard. The undocumented C-S-l seems to trigger a search over there. But there is no way of navigating to a matching tab without the mouse. Any tips?

Re:Firefox 50.0 by Manishearth on Wednesday November 16, 2016 @11:31AM (#12968564)
Ctrl-tab seems to work for me.
Re:Firefox 50.0 by flukus on Wednesday November 16, 2016 @09:36PM (#12973762)
With that filter I wonder if we could combine tabs and bookmarks?
Re:Firefox 50.0 by replax on Tuesday November 15, 2016 @04:04PM (#12962195)
Pentadactyl 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.
Re:Firefox 50.0 by kuschku on Tuesday November 15, 2016 @07:15PM (#12963547)
Actually, Firefox has it natively since 48. Just enter the title in the URL bar, and it'll suggest going to that tab.
Re:Firefox 50.0 by TheDong on Tuesday November 15, 2016 @08:23PM (#12963836)
Firefox has had it native since firefox 4. See this article: 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.

Re:Firefox 50.0 by kuschku on Tuesday November 15, 2016 @09:34PM (#12964089)
Hm, then 48 just changed the way it works, because I've never seen it before that one.
Re:Firefox 50.0 by hughes on Tuesday November 15, 2016 @03:40PM (#12962012)
The 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.

Re:Firefox 50.0 by pritambaral on Tuesday November 15, 2016 @09:52PM (#12964167)
Pressing 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.
Re:Firefox 50.0 by rbinv on Tuesday November 15, 2016 @03:49PM (#12962077)
Can be fixed in Sublime Text as follows:

{ "keys": ["ctrl+tab"], "command": "next_view" }, { "keys": ["ctrl+shift+tab"], "command": "prev_view" }

Re:Firefox 50.0 by baby on Tuesday November 15, 2016 @05:59PM (#12963109)
Ctrl+shift+P then type "key bindings user"
Re:Firefox 50.0 by spartanatreyu on Tuesday November 15, 2016 @06:52PM (#12963426)
Cmd+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

Re:Firefox 50.0 by davidwparker on Tuesday November 15, 2016 @03:42PM (#12962025)
I 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!'
Re:Firefox 50.0 by cpeterso on Tuesday November 15, 2016 @03:24PM (#12961857)
Is there a way to disable this ctrl+tab behavior in Sublime Test? I can't stand it either.
Re:Firefox 50.0 by ohstopitu on Tuesday November 15, 2016 @03:39PM (#12962003)
I 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!'
Re:Firefox 50.0 by Aardwolf on Tuesday November 15, 2016 @04:20PM (#12962330)
Seems 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 :)

Re:Firefox 50.0 by paulddraper on Tuesday November 15, 2016 @06:47PM (#12963385)
Yep. I want to be able to predict where ( Ctrl + Tab ) x 3 where take me.
Re:Firefox 50.0 by saulrh on Tuesday November 15, 2016 @06:52PM (#12963421)
When 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.
Re:Firefox 50.0 by trymas on Wednesday November 16, 2016 @12:06AM (#12964660)
Yes. 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.

Re:Firefox 50.0 by abusque on Tuesday November 15, 2016 @03:15PM (#12961762)
I don't know about Firefox or Atom, but in Chromium you can achieve that via Ctrl-PgUp and Ctrl-PgDn.
Re:Firefox 50.0 by bruce_one on Wednesday November 16, 2016 @02:24AM (#12965145)
I 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).)

Re:Firefox 50.0 by tdkl on Tuesday November 15, 2016 @03:27PM (#12961895)
Which is a pretty dumb shortcut to use one handed and compared to alt+tab.
Re:Firefox 50.0 by abhinavk on Tuesday November 15, 2016 @05:44PM (#12963003)
I have never seen a keyboard which doesn't have a Ctrl on the right side.
Re:Firefox 50.0 by tdkl on Wednesday November 16, 2016 @11:10AM (#12968303)
Sure, 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.

Re:Firefox 50.0 by bzbarsky on Tuesday November 15, 2016 @07:31PM (#12963617)
Tons of laptop keyboards. Of course lots of those have no PgUp either.
Re:Firefox 50.0 by ygra on Tuesday November 15, 2016 @05:45PM (#12963006)
It 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.
Re:Firefox 50.0 by paublyrne on Tuesday November 15, 2016 @05:05PM (#12962720)
On Mac at least you can use Command Shift [ and ]. Which is the same as in the browsers.
Re:Firefox 50.0 by snorrah on Tuesday November 15, 2016 @04:48PM (#12962541)
Probably pretty nice for left handed mouse / trackpad users though.
Re:Firefox 50.0 by pritambaral on Tuesday November 15, 2016 @09:54PM (#12964174)
Every non-macOS browser I've used supports those shortcuts. They're old enough to be universal among tabbed browsers.
Re:Firefox 50.0 by joesb on Tuesday November 15, 2016 @11:09PM (#12964468)
I 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.

Re:Firefox 50.0 by eriknstr on Tuesday November 15, 2016 @07:50PM (#12963699)
I hope I can disable this feature in Firefox about:config.
Re:Firefox 50.0 by kw71 on Tuesday November 15, 2016 @09:24PM (#12964047)
Ctrl + PgUp , Ctrl + PgDn