mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 18:37:58 +01:00
Crudely map <C-h> to <BS> rather than executing an editor command. Fixes issue #15.
This commit is contained in:
@@ -545,7 +545,7 @@ const Editor = Module("editor", {
|
||||
|
||||
mappings.add(myModes,
|
||||
["<C-h>"], "Delete character to the left",
|
||||
function () { editor.executeCommand("cmd_deleteCharBackward", 1); });
|
||||
function () { events.feedkeys("<BS>", true); });
|
||||
|
||||
mappings.add(myModes,
|
||||
["<C-d>"], "Delete character to the right",
|
||||
|
||||
Reference in New Issue
Block a user