diff options
| author | Ilya | 2010-05-25 22:11:52 -0700 |
|---|---|---|
| committer | Ilya | 2010-05-25 22:11:52 -0700 |
| commit | 799eea05c603047500b201dbd974c65f5b7020fa (patch) | |
| tree | d9d175c86c3e7be6c08773dc1129214ef2c4e0c7 /commands.js | |
| parent | e3d97c3285f86a2be0f964687b6bf7ed8975903e (diff) | |
| download | vimium-799eea05c603047500b201dbd974c65f5b7020fa.tar.bz2 | |
Support non-space whitespace in key mappings. This closes #141.
Diffstat (limited to 'commands.js')
| -rw-r--r-- | commands.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.js b/commands.js index 81d9ef52..08481280 100644 --- a/commands.js +++ b/commands.js @@ -28,7 +28,7 @@ function parseCustomKeyMappings(customKeyMappings) { for (var i = 0; i < lines.length; i++) { if (lines[i][0] == "\"" || lines[i][0] == "#") { continue } - split_line = lines[i].split(" "); // TODO(ilya): Support all whitespace. + split_line = lines[i].split(/\s+/); var lineCommand = split_line[0]; |
