From 64e2adfe87d167f75f45471bb16cb6846edee75e Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Sun, 7 Jun 2009 02:21:58 +0100 Subject: [PATCH] Fix macros. Spaces are no-longer replaced by was found, stop propagation here (like Vim) @@ -1542,6 +1540,8 @@ function Events() //{{{ { map = input.pendingMap; input.pendingMap = null; + if (map && map.flags & Mappings.flags.ARGUMENT) + input.pendingArgMap = map; } // counts must be at the start of a complete mapping (10j -> go 10 lines down) @@ -1558,8 +1558,6 @@ function Events() //{{{ input.buffer = ""; let map = input.pendingArgMap; input.pendingArgMap = null; - // FIXME. - key = key.replace(/^$/, "$1"); if (key != "" && key != "") { if (modes.isReplaying && !waitForPageLoaded())