1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 21:17:59 +01:00

fix short version names for :abclear, :iabclear and :cabclear

This commit is contained in:
Doug Kearns
2007-11-16 11:38:34 +00:00
parent 2a4e31223f
commit 0788c450bb

View File

@@ -1191,15 +1191,15 @@ vimperator.Commands = function () //{{{
help: "Same as <code class='command'>:una[bbreviate]</code>, but for Insert mode only." help: "Same as <code class='command'>:una[bbreviate]</code>, but for Insert mode only."
} }
)); ));
addDefaultCommand(new vimperator.Command(["ab[clear]"], addDefaultCommand(new vimperator.Command(["abc[lear]"],
function (args) { vimperator.editor.removeAllAbbreviations("!"); }, function (args) { vimperator.editor.removeAllAbbreviations("!"); },
{ short_help: "Remove all abbreviations" } { short_help: "Remove all abbreviations" }
)); ));
addDefaultCommand(new vimperator.Command(["cab[clear]"], addDefaultCommand(new vimperator.Command(["cabc[lear]"],
function (args) { vimperator.editor.removeAllAbbreviations("c"); }, function (args) { vimperator.editor.removeAllAbbreviations("c"); },
{ short_help: "Remove all abbreviations for Command-line mode" } { short_help: "Remove all abbreviations for Command-line mode" }
)); ));
addDefaultCommand(new vimperator.Command(["iab[clear]"], addDefaultCommand(new vimperator.Command(["iabc[lear]"],
function (args) { vimperator.editor.removeAllAbbreviations("i"); }, function (args) { vimperator.editor.removeAllAbbreviations("i"); },
{ short_help: "Remove all abbreviations for Insert mode" } { short_help: "Remove all abbreviations for Insert mode" }
)); ));