mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 06:17:58 +01:00
fixed home/end in composer
This commit is contained in:
@@ -246,11 +246,11 @@ liberator.Editor = function () //{{{
|
|||||||
function () { liberator.editor.executeCommand("cmd_deleteToEndOfLine", 1); });
|
function () { liberator.editor.executeCommand("cmd_deleteToEndOfLine", 1); });
|
||||||
|
|
||||||
liberator.mappings.add(modes,
|
liberator.mappings.add(modes,
|
||||||
["<C-a>", "<Home>"], "Move cursor to beginning of current line",
|
["<C-a>"], "Move cursor to beginning of current line",
|
||||||
function () { liberator.editor.executeCommand("cmd_beginLine", 1); });
|
function () { liberator.editor.executeCommand("cmd_beginLine", 1); });
|
||||||
|
|
||||||
liberator.mappings.add(modes,
|
liberator.mappings.add(modes,
|
||||||
["<C-e>", "<End>"], "Move cursor to end of current line",
|
["<C-e>"], "Move cursor to end of current line",
|
||||||
function () { liberator.editor.executeCommand("cmd_endLine", 1); });
|
function () { liberator.editor.executeCommand("cmd_endLine", 1); });
|
||||||
|
|
||||||
liberator.mappings.add(modes,
|
liberator.mappings.add(modes,
|
||||||
|
|||||||
Reference in New Issue
Block a user