1
0
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:
Martin Stubenschrott
2008-06-06 13:15:12 +00:00
parent ab9a6811bd
commit d79224b4cd

View File

@@ -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(); });