From 4406c23944543adf7938604a7299d22f260d2ef8 Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 31 May 2007 06:45:46 +0000 Subject: [PATCH] fix the mapping usage string to only show the primary command --- chrome/content/vimperator/mappings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/vimperator/mappings.js b/chrome/content/vimperator/mappings.js index f8970574..b3eb287d 100644 --- a/chrome/content/vimperator/mappings.js +++ b/chrome/content/vimperator/mappings.js @@ -20,7 +20,7 @@ function Map(mode, cmds, act, extra_info) this.usage = ""; if (flags & vimperator.mappings.flags.COUNT) this.usage = "{count}"; - this.usage += this.commands; + this.usage += this.commands[0]; if (flags & vimperator.mappings.flags.ARGUMENT) this.usage += " {arg}"; }