40

Is there a keyboard short cut, or extension, that lets you rip a tab into a new window in Google Chrome instead of using the mouse?

16

A workaround would be: Ctrl + L, + C, + W, + N, + V, and Enter.

Or

F6, Ctrl + C, Ctrl + N, Ctrl + V, Enter and an optional Alt + Tab, Ctrl + W, Alt + Tab, to close the old tab.

You could automate the whole thing with AutoIt (under Windows) and create a Hotkey for it (here, it's Ctrl + Alt + x):

HotKeySet("^!x", "split_tab")
Func split_tab()
    Send("{F6}^c^n")
    Sleep(999)
    Send("^v{Enter}")
    Send("!{Tab}^w!{Tab}")
EndFunc

I always have an additional application like this running in the background, offering useful keyboard shortcuts which automate and simplify tasks.

Alternatively, you can hit Ctrl + L instead of F6, which would be substantially easier as your hand does not have to leave the home row.

  • 2
    Hi Johannes, welcome to Super User! We generally speak English here, so I took the liberty of translating your answer. – slhck Sep 22 '11 at 10:20
  • 1
    @slhck: Oh thanks, I'm sorry... business blindness ;-) – Samoth Sep 22 '11 at 13:40
  • wish this was built in! the disadvantage of this group of commands is it doesn't save your scroll position. – Damon Sep 5 '13 at 20:44
  • 1
    Or use Alt + D instead of Ctrl + L as their proximity is higher. – Benjamin Feb 24 '15 at 9:17
  • 1
    -- Here is a Mac/hammerspoon version of the above AutoIt shortcut -- Only downside is it wipes the back history. -- superuser.com/questions/182720/… hs.hotkey.bind({"cmd", "ctrl"}, 'x', function() hs.eventtap.keyStroke({"cmd"}, "l") hs.eventtap.keyStroke({"cmd"}, "c") hs.eventtap.keyStroke({"cmd"}, "n") hs.eventtap.keyStroke({"cmd"}, "v") hs.eventtap.keyStroke({},"return") hs.eventtap.keyStroke({"cmd"}, "`") hs.eventtap.keyStroke({"cmd"}, "w") end) – thadk Aug 15 '18 at 20:25
34

With the Vimium extension for Chrome, Shift+W will move the current tab to a new window.

This was added in version 1.43 (2013-05-18), Vimium on GitHub.

  • 1
    Must have been added in a version newer than 27 as it is not present in that version. – Dan D. Apr 24 '14 at 16:19
  • 1
    Not sure if this is actually part of Chrome itself, but it works for me with Vimium installed. – sjy May 22 '14 at 8:33
  • 5
    This shortcut isn't indeed part of Google Chrome but was introduced in Vimium v1.43 (2013-05-18). – Franck Dernoncourt Nov 2 '14 at 15:36
  • Since VIM is an extension in Chrome, this will work on all platforms. By default, you can start with the modifier keys ctrl + x or alt + x, then pressing shift + w to invoke this functionality. – cody.codes Dec 1 '17 at 16:10
6

No out-of-the-box solution, but here is a chrome extension that does exactly that, Tab to Window/Popup.

1

There doesn't appear to be a keyboard short cut built in. Maybe auto-hot-keys can be used, but I'm not familiar with them. I'm also assuming that you already know that dragging the tab out creates the tabs own window.

  • Ya, I know that dragging does that. I just wanted to see if there was a way to do it without the mouse. – Stephen Aug 31 '10 at 19:13
1

The easiest way to do this is to add the Tab To Window Keyboard Shortcut extension. https://chrome.google.com/webstore/detail/tab-to-window-keyboard-sh/adbkphmimfcaeonicpmamfddbbnphikh?hl=en-GB

Personally I use Vimium and had just found the Shift+W and was loving it, since Ctrl+W closes a tab, having Shift+W open it in an new window made sense.

0

If you use voice recognition software Dragon NaturallySpeaking (Windows/Mac, non-free), you can create the voice command:

Sub Main
    SendKeys "^l"
    Wait(0.2)
    SendKeys "^c"
    Wait(0.2)
    SendKeys "^w"
    Wait(0.2)
    SendKeys "^n"
    Wait(0.2)
    SendKeys "^v"
    Wait(0.2)
    SendKeys "{ENTER}"
End Sub

enter image description here

Annoyingly this reloads the page, which is not good in some situations, e.g. if the page contains a form you have started to fill.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.