1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 09:48:00 +01:00

Crudely map <C-h> to <BS> rather than executing an editor command. Fixes issue #15.

This commit is contained in:
Kris Maglione
2010-09-24 11:46:16 -04:00
parent d9e1e9bb1f
commit 99c4c44426

View File

@@ -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",