Skip to content

Commit 8d14d3e

Browse files
committed
[emacs keymap] Add bindings for Alt-Left and Alt-Right
Closes codemirror#5320
1 parent f56b0d2 commit 8d14d3e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

keymap/emacs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,7 @@
307307
"Backspace": function(cm) { killRegion(cm, false) || killTo(cm, byChar, -1, false); },
308308

309309
"Alt-F": move(byWord, 1), "Alt-B": move(byWord, -1),
310+
"Alt-Right": move(byWord, 1), "Alt-Left": move(byWord, -1),
310311
"Alt-D": function(cm) { killTo(cm, byWord, 1, "grow"); },
311312
"Alt-Backspace": function(cm) { killTo(cm, byWord, -1, "grow"); },
312313

0 commit comments

Comments
 (0)