aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/commands.coffee
diff options
context:
space:
mode:
authorTimo Sand2013-02-17 01:39:42 +0000
committerTimo Sand2014-08-21 13:02:48 +0300
commita898e487a7a4c3471edcacc424916db5ec28fdd4 (patch)
tree0cd4896431b30060f592fc638baa9ae17a4d2f46 /background_scripts/commands.coffee
parent43caeb82d91e7cb88b085cb6e33a61a108322875 (diff)
downloadvimium-a898e487a7a4c3471edcacc424916db5ec28fdd4.tar.bz2
Added feature 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 4b3130c8..45a220dc 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"]