diff options
| author | Stephen Blott | 2016-02-28 11:07:21 +0000 |
|---|---|---|
| committer | Stephen Blott | 2016-03-05 05:38:30 +0000 |
| commit | 6e37f605fe45ee5eca03153c35c55c231e703c95 (patch) | |
| tree | 1d73306bf8aebf2055786ea6bb18b8c94073b905 /background_scripts/commands.coffee | |
| parent | f0c0a07a2dcb7c73f6aa93de166d8fa87e21f305 (diff) | |
| download | vimium-6e37f605fe45ee5eca03153c35c55c231e703c95.tar.bz2 | |
Key bindings; minor tweaks.
Diffstat (limited to 'background_scripts/commands.coffee')
| -rw-r--r-- | background_scripts/commands.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index e32707ce..50e5d624 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -8,7 +8,7 @@ Commands = loadKeyMappings: (value) -> @clearKeyMappingsAndSetDefaults() @parseCustomKeyMappings value - @generateKeyStateStructure() + @generateKeyStateMapping() availableCommands: {} keyToCommandRegistry: {} @@ -106,7 +106,7 @@ Commands = # string. namedKeyRegex: /^(<(?:[amc]-.|(?:[amc]-)?[a-z0-9]{2,5})>)(.*)$/ - generateKeyStateStructure: -> + generateKeyStateMapping: -> keyMapping = {} for own keys, registryEntry of @keyToCommandRegistry currentMapping = keyMapping |
