mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 16:12:26 +01:00
added ctrl-{home,end} mappings to insert mode
This commit is contained in:
@@ -261,6 +261,14 @@ liberator.Editor = function () //{{{
|
|||||||
["<C-d>"], "Delete character to the right",
|
["<C-d>"], "Delete character to the right",
|
||||||
function () { liberator.editor.executeCommand("cmd_deleteCharForward", 1); });
|
function () { liberator.editor.executeCommand("cmd_deleteCharForward", 1); });
|
||||||
|
|
||||||
|
liberator.mappings.add(modes,
|
||||||
|
["<C-Home>"], "Move cursor to beginning of text field",
|
||||||
|
function () { liberator.editor.executeCommand("cmd_moveTop", 1); });
|
||||||
|
|
||||||
|
liberator.mappings.add(modes,
|
||||||
|
["<C-End>"], "Move cursor to end of text field",
|
||||||
|
function () { liberator.editor.executeCommand("cmd_moveBottom", 1); });
|
||||||
|
|
||||||
liberator.mappings.add(modes,
|
liberator.mappings.add(modes,
|
||||||
["<S-Insert>"], "Insert clipboard/selection",
|
["<S-Insert>"], "Insert clipboard/selection",
|
||||||
function () { liberator.editor.pasteClipboard(); });
|
function () { liberator.editor.pasteClipboard(); });
|
||||||
|
|||||||
Reference in New Issue
Block a user