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

add <C-c> mapping to the command line to return to normal mode

This commit is contained in:
Doug Kearns
2008-08-27 02:05:17 +00:00
parent 59f8d3830f
commit 96eae9b16e

View File

@@ -358,6 +358,11 @@ liberator.CommandLine = function () //{{{
var modes = [liberator.modes.COMMAND_LINE]; var modes = [liberator.modes.COMMAND_LINE];
// TODO: move "<Esc>", "<C-[" here from mappings
liberator.mappings.add(modes,
["<C-c>"], "Focus content",
function () { liberator.events.onEscape(); });
liberator.mappings.add(modes, liberator.mappings.add(modes,
["<Space>"], "Expand command line abbreviation", ["<Space>"], "Expand command line abbreviation",
function () function ()