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

all mappings apart from various insert modes are finally there where they should be

This commit is contained in:
Martin Stubenschrott
2008-02-24 01:47:47 +00:00
parent 800516acba
commit f86df3e65a
10 changed files with 521 additions and 548 deletions

View File

@@ -273,6 +273,21 @@ vimperator.CommandLine = function () //{{{
validator: function (value) { return /^(sort|)$/.test(value); }
});
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// MAPPINGS ////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{
var modes = [vimperator.modes.COMMAND_LINE];
vimperator.mappings.add(modes,
["<Space>"], "Expand command line abbreviation",
function () { return vimperator.editor.expandAbbreviation("c"); },
{ flags: vimperator.Mappings.flags.ALLOW_EVENT_ROUTING });
vimperator.mappings.add(modes,
["<C-]>", "<C-5>"], "Expand command line abbreviation",
function () { vimperator.editor.expandAbbreviation("c"); });
/////////////////////////////////////////////////////////////////////////////}}}
////////////////////// PUBLIC SECTION //////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////{{{