aboutsummaryrefslogtreecommitdiffstats
path: root/background_scripts/commands.coffee
diff options
context:
space:
mode:
authorStephen Blott2018-02-13 14:43:25 +0000
committerStephen Blott2018-02-13 14:43:25 +0000
commit2128ef3a4b6bb989323200578b230dfb1e178c2e (patch)
treee3f176db9bc727243c937480a4b62264cf191304 /background_scripts/commands.coffee
parent43786d3024fa21663480fe76b9a122b3d8325f55 (diff)
downloadvimium-2128ef3a4b6bb989323200578b230dfb1e178c2e.tar.bz2
Make the reload command accept a count.
Move the `reload` command to the background page and make it accept a count prefix. Fixes #674. Althought the demand for this is low and the use cases limited, it is a very vim-ish extension to the existing command.
Diffstat (limited to 'background_scripts/commands.coffee')
-rw-r--r--background_scripts/commands.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee
index f3ae3bd9..0573b9c1 100644
--- a/background_scripts/commands.coffee
+++ b/background_scripts/commands.coffee
@@ -336,7 +336,7 @@ commandDescriptions =
scrollFullPageDown: ["Scroll a full page down"]
scrollFullPageUp: ["Scroll a full page up"]
- reload: ["Reload the page", { noRepeat: true }]
+ reload: ["Reload the page", { background: true }]
toggleViewSource: ["View page source", { noRepeat: true }]
copyCurrentUrl: ["Copy the current URL to the clipboard", { noRepeat: true }]