diff options
| author | Carl Helmertz | 2012-08-06 21:58:02 +0200 | 
|---|---|---|
| committer | Carl Helmertz | 2012-08-06 22:09:09 +0200 | 
| commit | 72e7d2783997df7e3971daca10a71bbebee552fd (patch) | |
| tree | eb07f85820633d5de9ef8ec2f8d961ceec18ce90 /background_scripts/commands.coffee | |
| parent | a697646163a5ab9ec6096591b8184a29fa49f2e9 (diff) | |
| download | vimium-72e7d2783997df7e3971daca10a71bbebee552fd.tar.bz2 | |
vomnibar: New tabs for 'O' and 'B'
'B' is a new command for searching for a bookmark and opens it in a new
tab.
'O' now searches through history and bookmarks and opens the selected
item in a new tab. Previously, it started vomnibar with the current URI
selected and opened the selection in the same tab.
This fixes #594.
Signed-off-by: Carl Helmertz <helmertz@gmail.com>
Diffstat (limited to 'background_scripts/commands.coffee')
| -rw-r--r-- | background_scripts/commands.coffee | 10 | 
1 files changed, 6 insertions, 4 deletions
| diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index 0fa56e1a..e3001f4f 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -91,8 +91,8 @@ Commands =         "openCopiedUrlInCurrentTab", "openCopiedUrlInNewTab", "goUp",         "enterInsertMode", "focusInput",         "LinkHints.activateMode", "LinkHints.activateModeToOpenInNewTab", "LinkHints.activateModeWithQueue", -       "Vomnibar.activate", "Vomnibar.activateWithCurrentUrl", "Vomnibar.activateTabSelection", -       "Vomnibar.activateBookmarks", +       "Vomnibar.activate", "Vomnibar.activateInNewTab", "Vomnibar.activateTabSelection", +       "Vomnibar.activateBookmarks", "Vomnibar.activateBookmarksInNewTab",         "goPrevious", "goNext", "nextFrame"]      findCommands: ["enterFindMode", "performFind", "performBackwardsFind"]      historyNavigation: @@ -165,11 +165,12 @@ defaultKeyMappings =    "X": "restoreTab"    "o": "Vomnibar.activate" -  "O": "Vomnibar.activateWithCurrentUrl" +  "O": "Vomnibar.activateInNewTab"    "T": "Vomnibar.activateTabSelection"    "b": "Vomnibar.activateBookmarks" +  "B": "Vomnibar.activateBookmarksInNewTab"    "gf": "nextFrame" @@ -232,9 +233,10 @@ commandDescriptions =    restoreTab: ["Restore closed tab", { background: true }]    "Vomnibar.activate": ["Open URL, bookmark, or history entry"] -  "Vomnibar.activateWithCurrentUrl": ["Open URL, bookmark, history entry, starting with the current URL"] +  "Vomnibar.activateInNewTab": ["Open URL, bookmark, history entry, in a new tab"]    "Vomnibar.activateTabSelection": ["Search through your open tabs"]    "Vomnibar.activateBookmarks": ["Open a bookmark"] +  "Vomnibar.activateBookmarksInNewTab": ["Open a bookmark in a new tab"]    nextFrame: ["Cycle forward to the next frame on the page", { background: true, passCountToFunction: true }] | 
