r/programming • • Feb 17 '16

Stack Overflow: The Architecture - 2016 Edition

http://nickcraver.com/blog/2016/02/17/stack-overflow-the-architecture-2016-edition/
1.7k Upvotes

461 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Feb 17 '16

[deleted] — view deleted comment

34

u/zebbadee Feb 17 '16

my god, you just changed everything. thank you

24

u/plexxonic Feb 17 '16

You poor bastard.

This may sound mean, but for my amusement, please tell me you were clicking through the tabs.

→ More replies (3)

40

u/ryanman Feb 17 '16

Add in a shift to tab in reverse!

From another child reply.

Also Ctrl + w closes a tab, Ctrl + T opens a new one.

So really "Keyboard Shortcuts change everything".

108

u/ponzao Feb 17 '16

Ctrl + Shift + T to get back the tab you accidentally closed.

29

u/CloudEngineer Feb 17 '16

This right here is the real protip.

6

u/Dagon Feb 18 '16

It works for whole browser sessions, too; if you shutdown with 60+ tabs open then next time you open chrome, [ctrl]+[shift+[T] will open up all 60 tabs in the order you had them.

I can shutdown the computer for the night, confident in the knowledge that I will entirely forget that I wanted to read some stuff the next day and just open up chrome to the normal pages I normally look at.

3

u/metirl Feb 18 '16

Jaw drops - thank you.

→ More replies (1)

3

u/n0rs Feb 18 '16

You can set chrome to resume session so you don't need to ctrl+shift+t at every start up.

4

u/Dagon Feb 18 '16

Yeah, but doing it this way means that my "shit i want to look at later but never get around to actually doing it" list is kept to a minimum.

→ More replies (1)
→ More replies (1)
→ More replies (1)

9

u/silentclowd Feb 17 '16

Ctrl + 1-8 will go directly to that tab (ctrl + 2 to the second tab, ctrl + 5 for the fifth tab, etc.)

Ctrl + 9 goes to the last tab.

9

u/polarbear128 Feb 17 '16

But I want to go to the 9th tab

8

u/silentclowd Feb 17 '16

I'm sorry :(

4

u/kevindamm Feb 17 '16

ctrl+8, ctrl+tab

You can keep ctrl held down, so it's ctrl+(8, tab)

4

u/mkosmo Feb 17 '16

Ctrl+shift+tab to go back.

4

u/zomnbio Feb 17 '16 edited Feb 18 '16

use shift + < or shift + > to move a tab left or right.

→ More replies (5)

2

u/dunology Feb 18 '16

Middle mouse click to open a link in a new tab, middle mouse click on the tab at the top to close it. In case you didn't know already!

2

u/Rockztar Feb 18 '16

Control + shift + tab to go one tab back too!

→ More replies (2)

5

u/setuid_w00t Feb 17 '16

ctrl+pgup and ctrl+pgdn also work

4

u/Khuroh Feb 17 '16

Kind of random, but one of my biggest pet peeves with Chrome is that Ctrl+Tab doesn't follow most recently used behavior.

4

u/Kritnc Feb 17 '16

For me I find cmd-shift-] or cmd-shift-[ easier. Works in most text editors too

→ More replies (1)

3

u/obelisk___ Feb 18 '16

Ctrl+q is a way of life too.

3

u/waterlimon Feb 18 '16

Best decision of life was purchasing a mouse with 5 extra buttons, so I can map each of:

-prev/next tab

-forward/backward

-close tab

to mouse buttons, so I just need one hand to browse, and only need to move the cursor to open more links.

Highly recommend.

→ More replies (1)
→ More replies (3)