mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-18 01:42:31 +02:00
Crudely map <C-h> to <BS> rather than executing an editor command. Fixes issue #15.
This commit is contained in:
1 parent
d9e1e9bb1f
commit
99c4c44426
1 file changed
+1
-1
@@ -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