aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Blott2016-10-02 09:34:06 +0100
committerStephen Blott2016-10-02 09:34:06 +0100
commit3245cb8e605ba3fd59b9f99bdd28714157ed06eb (patch)
tree777f5d90ceb4956833e21a4da1d2182ac8a77845
parent967aa7bf31998f667616f19f9b83e409340b66d1 (diff)
downloadvimium-3245cb8e605ba3fd59b9f99bdd28714157ed06eb.tar.bz2
Add comment giving example key parsing.
-rw-r--r--background_scripts/commands.coffee1
1 files changed, 1 insertions, 0 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee
index f43bd02b..7d9839aa 100644
--- a/background_scripts/commands.coffee
+++ b/background_scripts/commands.coffee
@@ -40,6 +40,7 @@ Commands =
# On the other hand, <c-a> and <c-A> are different named keys - for one of
# them you have to press "shift" as well.
# We sort modifiers here to match the order used in keyboard_utils.coffee.
+ # The return value is a sequence of keys: e.g. "<Space><c-A>b" -> ["<space>", "<c-A>", "b"].
normalizeKey: (key) ->
if key.length == 0
[]