Skip to content
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

Request: Add 'Duplicate tab' feature #242

Closed
wcbeard opened this issue Oct 27, 2010 · 16 comments
Closed

Request: Add 'Duplicate tab' feature #242

wcbeard opened this issue Oct 27, 2010 · 16 comments

Comments

@wcbeard
Copy link

wcbeard commented Oct 27, 2010

I don't even know how to get Chrome to duplicate a tab without using the mouse (right-clicking on the tab), so I think this command would be another great niche for Vimium.

Not sure what the default key should be, but perhaps something like 'p'? Since yy copies the current URL, it'd be like pasting the current url in a new tab. It might make more sense to have 'p' open a new tab and paste in whatever's on the clipboard, but something along those lines?

@philc
Copy link
Owner

philc commented Nov 21, 2010

Duplicating a tab is probably worth putting in the "advanced" section when we make one. It could be the case that there's no binding to it by default, but the command has a name and can be bound.

p should very likely be "open a tab and paste the URL on the clipboard" to parallel vimperator.

@tobanw
Copy link

tobanw commented Mar 13, 2011

It would be nice if it could actually trigger Chrome's "Duplicate Tab", which also copies the page history. With Chrome's duplicate, you can go 'back' through your history in the duplicated tab.

@rgsmith1980
Copy link
Contributor

Thought this might be a cool feature to jump in on, but my reading of the documentation indicates Chrome Extensions do not have support for the native "duplicate tab" function as of yet.

@bernardobarreto
Copy link
Contributor

I think the shortcut for it should be "fy", "fY", "fyy".. whatever, but "f" will highlight the links, so this probably wouldn't be a good idea. What about just "gf" or something like that ?

@cespare
Copy link
Contributor

cespare commented Dec 16, 2011

Yeah, Chrome doesn't have programmatic access to tab duplication -- this has been an annoyance for a while now.

@simao
Copy link

simao commented Feb 9, 2012

Since chrome doesn't support duplicating tabs using it's javascript API, would it be ok to open a new tab with the current URL? Maybe we shouldn't call it "Duplicate", though.

I can write a patch for this.

@int3
Copy link
Collaborator

int3 commented Feb 9, 2012

@simao: With the next release this can be achieved using yy (yank URL) followed by P (paste URL in new tab).

@tobanw
Copy link

tobanw commented Feb 9, 2012

You can "duplicate" (open new tab with same url, losing tab history) natively by doing alt+(d, Enter) or ctrl+L, alt+enter.

@philc
Copy link
Owner

philc commented Feb 13, 2012

It would be nice to get the implementation of this for free from Chrome's extension API. A good first step is to star this issue if you haven't already, as @cespare pointed out: http://code.google.com/p/chromium/issues/detail?id=36007

@deiga
Copy link
Contributor

deiga commented Feb 16, 2013

There seems to be a duplicate tab function in chrome now. (http://developer.chrome.com/extensions/tabs.html#method-duplicate)
Nothing to stop this to be implemented

@wildeyes
Copy link

Shouldn't this issue be closed? yt duplicates tab..

@deiga
Copy link
Contributor

deiga commented Oct 10, 2013

@wildeyes yes, it should

@philc philc closed this as completed Oct 10, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

11 participants