1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 10:57:58 +01:00

Adding D keybinding to textarea editing to delete everything until EOL

Thanks Daniel Schaffrath for the patch
This commit is contained in:
Daniel Bainton
2008-08-26 12:28:51 +00:00
parent 81996b9ab2
commit 3c9ba896c8

View File

@@ -323,6 +323,10 @@ liberator.Editor = function () //{{{
},
{ 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],
["o"], "Open line below current",
function (count)