From 799eea05c603047500b201dbd974c65f5b7020fa Mon Sep 17 00:00:00 2001 From: Ilya Date: Tue, 25 May 2010 22:11:52 -0700 Subject: Support non-space whitespace in key mappings. This closes #141. --- commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- cgit v1.2.3