From a24a6274b35709002700b3e1d8b2c9ac4376e500 Mon Sep 17 00:00:00 2001 From: Phil Crosby Date: Mon, 11 Jun 2012 19:01:32 -0700 Subject: Uppercase linkhints. This will break a few people's bindings. We should avoid revealing our implementation in the future. --- background_scripts/commands.coffee | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'background_scripts') diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index 0d689043..2b8022ef 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -87,10 +87,10 @@ Commands = ["scrollDown", "scrollUp", "scrollLeft", "scrollRight", "scrollToTop", "scrollToBottom", "scrollToLeft", "scrollToRight", "scrollPageDown", "scrollPageUp", "scrollFullPageUp", "scrollFullPageDown", - "reload", "toggleViewSource", "copyCurrentUrl", "linkHints.activateModeToCopyLinkUrl", + "reload", "toggleViewSource", "copyCurrentUrl", "LinkHints.activateModeToCopyLinkUrl", "openCopiedUrlInCurrentTab", "openCopiedUrlInNewTab", "goUp", "enterInsertMode", "focusInput", - "linkHints.activateMode", "linkHints.activateModeToOpenInNewTab", "linkHints.activateModeWithQueue", + "LinkHints.activateMode", "LinkHints.activateModeToOpenInNewTab", "LinkHints.activateModeWithQueue", "vomnibar.activate", "vomnibar.activateWithCurrentUrl", "vomnibar.activateTabSelection", "goPrevious", "goNext", "nextFrame"] findCommands: ["enterFindMode", "performFind", "performBackwardsFind"] @@ -106,7 +106,7 @@ Commands = # from Vimium will uncover these gems. advancedCommands: [ "scrollToLeft", "scrollToRight", - "goUp", "focusInput", "linkHints.activateModeWithQueue", + "goUp", "focusInput", "LinkHints.activateModeWithQueue", "goPrevious", "goNext"] defaultKeyMappings = @@ -135,9 +135,9 @@ defaultKeyMappings = "gi": "focusInput" - "f": "linkHints.activateMode" - "F": "linkHints.activateModeToOpenInNewTab" - "": "linkHints.activateModeWithQueue" + "f": "LinkHints.activateMode" + "F": "LinkHints.activateModeToOpenInNewTab" + "": "LinkHints.activateModeWithQueue" "/": "enterFindMode" "n": "performFind" @@ -147,7 +147,7 @@ defaultKeyMappings = "]]": "goNext" "yy": "copyCurrentUrl" - "yf": "linkHints.activateModeToCopyLinkUrl" + "yf": "LinkHints.activateModeToCopyLinkUrl" "p": "openCopiedUrlInCurrentTab" "P": "openCopiedUrlInNewTab" @@ -193,7 +193,7 @@ commandDescriptions = toggleViewSource: ["View page source"] copyCurrentUrl: ["Copy the current URL to the clipboard"] - 'linkHints.activateModeToCopyLinkUrl': ["Copy a link URL to the clipboard"] + 'LinkHints.activateModeToCopyLinkUrl': ["Copy a link URL to the clipboard"] openCopiedUrlInCurrentTab: ["Open the clipboard's URL in the current tab", { background: true }] openCopiedUrlInNewTab: ["Open the clipboard's URL in a new tab", { background: true }] @@ -201,9 +201,9 @@ commandDescriptions = focusInput: ["Focus the first (or n-th) text box on the page", { passCountToFunction: true }] - '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"] + '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"] -- cgit v1.2.3