mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 21:22:26 +01:00
Adding D keybinding to textarea editing to delete everything until EOL
Thanks Daniel Schaffrath for the patch
This commit is contained in:
@@ -323,6 +323,10 @@ liberator.Editor = function () //{{{
|
|||||||
},
|
},
|
||||||
{ flags: liberator.Mappings.flags.COUNT });
|
{ flags: liberator.Mappings.flags.COUNT });
|
||||||
|
|
||||||
|
liberator.mappings.add([liberator.modes.TEXTAREA],
|
||||||
|
["D"], "Delete the characters under the cursor until the end of the line",
|
||||||
|
function () { liberator.editor.executeCommand("cmd_deleteToEndOfLine"); });
|
||||||
|
|
||||||
liberator.mappings.add([liberator.modes.TEXTAREA],
|
liberator.mappings.add([liberator.modes.TEXTAREA],
|
||||||
["o"], "Open line below current",
|
["o"], "Open line below current",
|
||||||
function (count)
|
function (count)
|
||||||
|
|||||||
Reference in New Issue
Block a user