mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 16:12:26 +01:00
add <C-c> mapping to the command line to return to normal mode
This commit is contained in:
@@ -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 ()
|
||||||
|
|||||||
Reference in New Issue
Block a user