aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/commands.coffee
diff options
context:
space:
mode:
authorStephen Blott2014-10-25 15:54:20 +0100
committerStephen Blott2014-10-25 15:54:20 +0100
commitf5fa44f552a7223e978880b79dba8a1076befab0 (patch)
tree25ceac77577c85df5776426a6115b47678de55c8 /background_scripts/commands.coffee
parente98f3f678237c1841d9626f17e560b6cb8327dc8 (diff)
parent238893e6cf02dbdfb85d274f77368dbd7d039a3d (diff)
downloadvimium-f5fa44f552a7223e978880b79dba8a1076befab0.tar.bz2
Merge pull request #784 from deiga/patch-3
Add links-hint mode to download links
Diffstat (limited to 'background_scripts/commands.coffee')
-rw-r--r--background_scripts/commands.coffee5
1 files changed, 4 insertions, 1 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee
index fe063066..825160d8 100644
--- a/background_scripts/commands.coffee
+++ b/background_scripts/commands.coffee
@@ -110,7 +110,7 @@ Commands =
# from Vimium will uncover these gems.
advancedCommands: [
"scrollToLeft", "scrollToRight", "moveTabToNewWindow",
- "goUp", "goToRoot", "focusInput", "LinkHints.activateModeWithQueue",
+ "goUp", "goToRoot", "focusInput", "LinkHints.activateModeWithQueue", "LinkHints.activateModeToDownloadLink",
"LinkHints.activateModeToOpenIncognito", "goNext", "goPrevious", "Marks.activateCreateMode",
"Marks.activateGotoMode", "moveTabLeft", "moveTabRight",
"closeTabsOnLeft","closeTabsOnRight", "closeOtherTabs"]
@@ -146,6 +146,8 @@ defaultKeyMappings =
"F": "LinkHints.activateModeToOpenInNewTab"
"<a-f>": "LinkHints.activateModeWithQueue"
+ "af": "LinkHints.activateModeToDownloadLink"
+
"/": "enterFindMode"
"n": "performFind"
"N": "performBackwardsFind"
@@ -228,6 +230,7 @@ commandDescriptions =
"LinkHints.activateModeToOpenIncognito": ["Open a link in incognito window"]
+ "LinkHints.activateModeToDownloadLink": ["Download link url"]
enterFindMode: ["Enter find mode"]
performFind: ["Cycle forward to the next find match"]
performBackwardsFind: ["Cycle backward to the previous find match"]