diff options
| author | jez | 2011-01-31 15:23:02 +0800 | 
|---|---|---|
| committer | jez | 2011-01-31 15:24:08 +0800 | 
| commit | ca5c5350f75df115531dba22bf497fbf230f5bbe (patch) | |
| tree | 1605df293d8977b3cc812e4486fef49b57941017 | |
| parent | 3f34de770e11b41183e914a7fd7e66a4ac877730 (diff) | |
| download | vimium-ca5c5350f75df115531dba22bf497fbf230f5bbe.tar.bz2 | |
Fix up the invocation of linkHints.* commands
| -rw-r--r-- | commands.js | 18 | 
1 files changed, 9 insertions, 9 deletions
| diff --git a/commands.js b/commands.js index de70a0a9..7c0f4a9d 100644 --- a/commands.js +++ b/commands.js @@ -124,9 +124,9 @@ function clearKeyMappingsAndSetDefaults() {      "gi": "focusInput", -    "f":     "activateLinkHintsMode", -    "F":     "activateLinkHintsModeToOpenInNewTab", -    "<a-f>": "activateLinkHintsModeWithQueue", +    "f":     "linkHints.activateMode", +    "F":     "linkHints.activateModeToOpenInNewTab", +    "<a-f>": "linkHints.activateModeWithQueue",      "/": "enterFindMode",      "n": "performFind", @@ -182,9 +182,9 @@ var commandDescriptions = {    focusInput: ["Focus the first (or n-th) text box on the page", { passCountToFunction: true }], -  activateLinkHintsMode: ["Open a link in the current tab"], -  activateLinkHintsModeToOpenInNewTab: ["Open a link in a new tab"], -  activateLinkHintsModeWithQueue: ["Open multiple links in a new tab"], +  'linkHints.activateMode': ["Open a link in the current tab"], +  'linkHints.activateModeToOpenInNewTab': ["Open a link in a new tab"], +  'linkHints.activateModeWithQueue': ["Open multiple links in a new tab"],    enterFindMode: ["Enter find mode"],    performFind: ["Cycle forward to the next find match"], @@ -223,7 +223,7 @@ var commandGroups = {       "scrollPageUp", "scrollFullPageUp", "scrollFullPageDown",       "reload", "toggleViewSource", "zoomIn", "zoomOut", "zoomReset", "copyCurrentUrl", "goUp",       "enterInsertMode", "focusInput", -     "activateLinkHintsMode", "activateLinkHintsModeToOpenInNewTab", "activateLinkHintsModeWithQueue", +     "linkHints.activateMode", "linkHints.activateModeToOpenInNewTab", "linkHints.activateModeWithQueue",       "goPrevious", "goNext", "nextFrame"],    findCommands: ["enterFindMode", "performFind", "performBackwardsFind"],    historyNavigation: @@ -239,5 +239,5 @@ var commandGroups = {  // from Vimium will uncover these gems.  var advancedCommands = [      "scrollToLeft", "scrollToRight", -    "zoomReset", "goUp", "focusInput", "activateLinkHintsModeWithQueue", -    "goPrevious", "goNext"];
\ No newline at end of file +    "zoomReset", "goUp", "focusInput", "linkHints.activateModeWithQueue", +    "goPrevious", "goNext"]; | 
