Skip to content

Commit ed8dfeb

Browse files
lorenzosimmarijnh
authored andcommitted
Put fallthrough in quotes for consistency with other keys
1 parent d1063d2 commit ed8dfeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/input/keymap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ keyMap.pcDefault = {
2424
"Ctrl-G": "findNext", "Shift-Ctrl-G": "findPrev", "Shift-Ctrl-F": "replace", "Shift-Ctrl-R": "replaceAll",
2525
"Ctrl-[": "indentLess", "Ctrl-]": "indentMore",
2626
"Ctrl-U": "undoSelection", "Shift-Ctrl-U": "redoSelection", "Alt-U": "redoSelection",
27-
fallthrough: "basic"
27+
"fallthrough": "basic"
2828
}
2929
// Very basic readline/emacs-style bindings, which are standard on Mac.
3030
keyMap.emacsy = {
@@ -42,7 +42,7 @@ keyMap.macDefault = {
4242
"Cmd-G": "findNext", "Shift-Cmd-G": "findPrev", "Cmd-Alt-F": "replace", "Shift-Cmd-Alt-F": "replaceAll",
4343
"Cmd-[": "indentLess", "Cmd-]": "indentMore", "Cmd-Backspace": "delWrappedLineLeft", "Cmd-Delete": "delWrappedLineRight",
4444
"Cmd-U": "undoSelection", "Shift-Cmd-U": "redoSelection", "Ctrl-Up": "goDocStart", "Ctrl-Down": "goDocEnd",
45-
fallthrough: ["basic", "emacsy"]
45+
"fallthrough": ["basic", "emacsy"]
4646
}
4747
keyMap["default"] = mac ? keyMap.macDefault : keyMap.pcDefault
4848

0 commit comments

Comments
 (0)