diff options
| author | Stephen Blott | 2016-05-15 09:05:21 +0100 |
|---|---|---|
| committer | Stephen Blott | 2016-05-15 09:05:21 +0100 |
| commit | eced401764bb679af6f34559861c2b1bc39c2752 (patch) | |
| tree | d1baa1187c72a732bf9739649c9aca319e7faa65 | |
| parent | 6f08521e946b39ca9254bbc94455641f90f33215 (diff) | |
| download | vimium-eced401764bb679af6f34559861c2b1bc39c2752.tar.bz2 | |
Handle <space> in the same way as other special keys.
| -rw-r--r-- | background_scripts/commands.coffee | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index 0905daee..c334cf9d 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -43,7 +43,6 @@ Commands = key.replace(/<[acm]-/ig, (match) -> match.toLowerCase()) .replace(/<([acm]-)?([a-zA-Z0-9]{2,5})>/g, (match, optionalPrefix, keyName) -> "<" + (if optionalPrefix then optionalPrefix else "") + keyName.toLowerCase() + ">") - .replace /<space>/ig, " " parseCustomKeyMappings: (customKeyMappings) -> for line in customKeyMappings.split "\n" |
