defaultKeymap
constdefaultKeymap:Record<string,EditorHotkey>
Defined in: extensions/commands/commands.ts:332
Default keymapping that includes the following commands:
Alt+ArrowUp: Move line upAlt+ArrowDown: Move line downCtrl+ArrowUp: Scroll one line up (Windows/Linux)Ctrl+ArrowDown: Scroll one line down (Windows/Linux)Ctrl+PageUp: Scroll one line up (Mac)Ctrl+PageDown: Scroll one line down (Mac)Shift+Alt+ArrowUp: Copy line upShift+Alt+ArrowDown: Copy line downEnter: Insert line and indentShift+Enter: Insert line and indentMod+Enter: Insert blank lineMod+]: Indent lineMod+[: Outdent lineTab: Indent line (Tab capture enabled)Shift+Tab: Outdent line (Tab capture enabled)Shift+Mod+K: Delete lineMod+/: Toggle commentShift+Alt+A: Toggle block commentCtrl+M: Toggle tab capturing (Windows/Linux)Ctrl+Shift+M: Toggle tab capturing (Mac)
Here, Mod refers to Cmd on Mac and Ctrl otherwise.