From 8b107e059a69f9a92bd2e35e92241aec7c5146f9 Mon Sep 17 00:00:00 2001 From: tshino Date: Fri, 17 Dec 2021 00:35:19 +0900 Subject: [PATCH] Add Sublime Text Keymap wrapper #18 --- keymap-wrapper/README.md | 9 +- .../ms-vscode.sublime-keybindings.json | 278 ++++++++++++++++++ 2 files changed, 283 insertions(+), 4 deletions(-) create mode 100644 keymap-wrapper/ms-vscode.sublime-keybindings.json diff --git a/keymap-wrapper/README.md b/keymap-wrapper/README.md index 6165a400..5fb24098 100644 --- a/keymap-wrapper/README.md +++ b/keymap-wrapper/README.md @@ -14,10 +14,11 @@ And of course the more better way is to use existing keymap wrapper. Open the keymap wrapper (JSON) link, copy the whole keybindings in the file, and paste them into your `keybindings.json`. -| Keymap extension | Keymap wrapper | Start rec. | Stop rec. | Playback | Note | -| ---------------- | -------------- | ---------- | --------- | -------- | ---- | -| [Awesome Emacs Keymap](https://marketplace.visualstudio.com/items?itemName=tuttieee.emacs-mcx) | [tuttieee.emacs-mcx.json](tuttieee.emacs-mcx.json) | `C-x S-9` | `C-x S-0` | `C-x e` | VS Code can't map '(' and ')' keys | -| [Vz Keymap](https://marketplace.visualstudio.com/items?itemName=tshino.vz-like-keymap) | [tshino.vz-like-keymap.json](tshino.vz-like-keymap.json) | `Ctrl+_` | `Ctrl+^` | `Ctrl+^` | | +| Keymap extension | Keymap wrapper (JSON) | Last updated | Start rec. | Stop rec. | Playback | Note | +| ---------------- | -------------- | ------------ | ---------- | --------- | -------- | ---- | +| [Sublime Text Keymap](https://marketplace.visualstudio.com/items?itemName=ms-vscode.sublime-keybindings) | [ms-vscode.sublime-keybindings.json](ms-vscode.sublime-keybindings.json) | 2021-12-17 | `Ctrl+Q` | `Ctrl+Q` | `Ctrl+Shift+Q` | | +| [Awesome Emacs Keymap](https://marketplace.visualstudio.com/items?itemName=tuttieee.emacs-mcx) | [tuttieee.emacs-mcx.json](tuttieee.emacs-mcx.json) | 2021-12-11 | `C-x S-9` | `C-x S-0` | `C-x e` | VS Code can't map '(' and ')' keys | +| [Vz Keymap](https://marketplace.visualstudio.com/items?itemName=tshino.vz-like-keymap) | [tshino.vz-like-keymap.json](tshino.vz-like-keymap.json) | 2021-12-11 | `Ctrl+_` | `Ctrl+^` | `Ctrl+^` | | ## Making a Keymap Wrapper diff --git a/keymap-wrapper/ms-vscode.sublime-keybindings.json b/keymap-wrapper/ms-vscode.sublime-keybindings.json new file mode 100644 index 00000000..e5105a17 --- /dev/null +++ b/keymap-wrapper/ms-vscode.sublime-keybindings.json @@ -0,0 +1,278 @@ +[ + { "key": "cmd+y", "command": "kb-macro.wrap", "args": { "command": "redo" }, + "when": "kb-macro.recording && isMac && editorTextFocus && !editorReadonly" }, + { "key": "ctrl+y", "command": "kb-macro.wrap", "args": { "command": "redo" }, + "when": "kb-macro.recording && !isMac && editorTextFocus && !editorReadonly" }, + { "key": "ctrl+shift+cmd+f", "command": "kb-macro.wrap", "args": { "command": "workbench.action.toggleZenMode" }, + "when": "kb-macro.recording && isMac" }, + { "key": "shift+f11", "command": "kb-macro.wrap", "args": { "command": "workbench.action.toggleZenMode" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+w", "command": "kb-macro.wrap", "args": { "command": "workbench.action.closeActiveEditor" }, + "when": "kb-macro.recording && isMac" }, + { "key": "ctrl+w", "command": "kb-macro.wrap", "args": { "command": "workbench.action.closeActiveEditor" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "shift+cmd+[", "command": "kb-macro.wrap", "args": { "command": "workbench.action.previousEditor" }, + "when": "kb-macro.recording && isMac" }, + { "key": "ctrl+pageup", "command": "kb-macro.wrap", "args": { "command": "workbench.action.previousEditor" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "shift+cmd+]", "command": "kb-macro.wrap", "args": { "command": "workbench.action.nextEditor" }, + "when": "kb-macro.recording && isMac" }, + { "key": "ctrl+pagedown", "command": "kb-macro.wrap", "args": { "command": "workbench.action.nextEditor" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "alt+cmd+s", "command": "kb-macro.wrap", "args": { "command": "workbench.action.files.saveAll" }, + "when": "kb-macro.recording && isMac" }, + { "key": "none", "command": "kb-macro.wrap", "args": { "command": "workbench.action.files.saveAll" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+k cmd+b", "command": "kb-macro.wrap", "args": { "command": "workbench.action.toggleSidebarVisibility" }, + "when": "kb-macro.recording && isMac" }, + { "key": "ctrl+k ctrl+b", "command": "kb-macro.wrap", "args": { "command": "workbench.action.toggleSidebarVisibility" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "ctrl+alt+up", "command": "kb-macro.wrap", "args": { "command": "scrollLineUp" }, + "when": "kb-macro.recording && isMac && editorTextFocus" }, + { "key": "ctrl+up", "command": "kb-macro.wrap", "args": { "command": "scrollLineUp" }, + "when": "kb-macro.recording && !isMac && editorTextFocus" }, + { "key": "ctrl+alt+down", "command": "kb-macro.wrap", "args": { "command": "scrollLineDown" }, + "when": "kb-macro.recording && isMac && editorTextFocus" }, + { "key": "ctrl+down", "command": "kb-macro.wrap", "args": { "command": "scrollLineDown" }, + "when": "kb-macro.recording && !isMac && editorTextFocus" }, + { "key": "cmd+t", "command": "kb-macro.wrap", "args": { "command": "workbench.action.quickOpen" }, + "when": "kb-macro.recording && isMac" }, + { "key": "ctrl+p", "command": "kb-macro.wrap", "args": { "command": "workbench.action.quickOpen" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+r", "command": "kb-macro.wrap", "args": { "command": "workbench.action.gotoSymbol" }, + "when": "kb-macro.recording && isMac" }, + { "key": "ctrl+r", "command": "kb-macro.wrap", "args": { "command": "workbench.action.gotoSymbol" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+r", "command": "kb-macro.wrap", "args": { "command": "workbench.action.gotoSymbol" }, + "when": "kb-macro.recording && isMac" }, + { "key": "ctrl+;", "command": "kb-macro.wrap", "args": { "command": "workbench.action.gotoSymbol" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+alt+down", "command": "kb-macro.wrap", "args": { "command": "editor.action.goToDeclaration" }, + "when": "kb-macro.recording && isMac" }, + { "key": "f12", "command": "kb-macro.wrap", "args": { "command": "editor.action.goToDeclaration" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "alt+-", "command": "kb-macro.wrap", "args": { "command": "workbench.action.navigateBack" }, + "when": "kb-macro.recording && isLinux" }, + { "key": "alt+-", "command": "kb-macro.wrap", "args": { "command": "workbench.action.navigateBack" }, + "when": "kb-macro.recording && isWindows" }, + { "key": "ctrl+-", "command": "kb-macro.wrap", "args": { "command": "workbench.action.navigateBack" }, + "when": "kb-macro.recording && !isLinux && !isWindows" }, + { "key": "alt+shift+-", "command": "kb-macro.wrap", "args": { "command": "workbench.action.navigateForward" }, + "when": "kb-macro.recording && isLinux" }, + { "key": "alt+shift+-", "command": "kb-macro.wrap", "args": { "command": "workbench.action.navigateForward" }, + "when": "kb-macro.recording && isWindows" }, + { "key": "ctrl+shift+-", "command": "kb-macro.wrap", "args": { "command": "workbench.action.navigateForward" }, + "when": "kb-macro.recording && !isLinux && !isWindows" }, + { "key": "cmd+g", "command": "kb-macro.wrap", "args": { "command": "editor.action.nextMatchFindAction" }, + "when": "kb-macro.recording && isMac && editorTextFocus" }, + { "key": "f3", "command": "kb-macro.wrap", "args": { "command": "editor.action.nextMatchFindAction" }, + "when": "kb-macro.recording && !isMac && editorTextFocus" }, + { "key": "f4", "command": "kb-macro.wrap", "args": { "command": "editor.action.nextMatchFindAction" }, + "when": "kb-macro.recording && editorTextFocus" }, + { "key": "shift+f4", "command": "kb-macro.wrap", "args": { "command": "editor.action.previousMatchFindAction" }, + "when": "kb-macro.recording && editorTextFocus" }, + { "key": "ctrl+cmd+up", "command": "kb-macro.wrap", "args": { "command": "editor.action.moveLinesUpAction" }, + "when": "kb-macro.recording && isMac && editorTextFocus" }, + { "key": "ctrl+shift+up", "command": "kb-macro.wrap", "args": { "command": "editor.action.moveLinesUpAction" }, + "when": "kb-macro.recording && !isMac && editorTextFocus" }, + { "key": "ctrl+cmd+down", "command": "kb-macro.wrap", "args": { "command": "editor.action.moveLinesDownAction" }, + "when": "kb-macro.recording && isMac && editorTextFocus" }, + { "key": "ctrl+shift+down", "command": "kb-macro.wrap", "args": { "command": "editor.action.moveLinesDownAction" }, + "when": "kb-macro.recording && !isMac && editorTextFocus" }, + { "key": "cmd+alt+/", "command": "kb-macro.wrap", "args": { "command": "editor.action.commentLine" }, + "when": "kb-macro.recording && isMac && editorTextFocus" }, + { "key": "ctrl+shift+/", "command": "kb-macro.wrap", "args": { "command": "editor.action.commentLine" }, + "when": "kb-macro.recording && !isMac && editorTextFocus" }, + { "key": "cmd+k cmd+up", "command": "kb-macro.wrap", "args": { "command": "workbench.action.splitEditor" }, + "when": "kb-macro.recording && isMac" }, + { "key": "ctrl+k ctrl+up", "command": "kb-macro.wrap", "args": { "command": "workbench.action.splitEditor" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "alt+cmd+1", "command": "kb-macro.wrap", "args": { "command": "workbench.action.joinTwoGroups" }, + "when": "kb-macro.recording && isMac" }, + { "key": "alt+shift+1", "command": "kb-macro.wrap", "args": { "command": "workbench.action.joinTwoGroups" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "alt+cmd+2", "command": "kb-macro.wrap", "args": { "command": "workbench.action.splitEditor" }, + "when": "kb-macro.recording && isMac" }, + { "key": "alt+shift+2", "command": "kb-macro.wrap", "args": { "command": "workbench.action.splitEditor" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "alt+cmd+8", "command": "kb-macro.wrap", "args": { "command": "workbench.action.toggleEditorGroupLayout" }, + "when": "kb-macro.recording && isMac" }, + { "key": "alt+shift+8", "command": "kb-macro.wrap", "args": { "command": "workbench.action.toggleEditorGroupLayout" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+k cmd+down", "command": "kb-macro.wrap", "args": { "command": "workbench.action.closeActiveEditor" }, + "when": "kb-macro.recording && isMac" }, + { "key": "ctrl+k ctrl+down", "command": "kb-macro.wrap", "args": { "command": "workbench.action.closeActiveEditor" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "alt+cmd+[", "command": "kb-macro.wrap", "args": { "command": "editor.fold" }, + "when": "kb-macro.recording && isMac && editorFocus" }, + { "key": "ctr+shift+[", "command": "kb-macro.wrap", "args": { "command": "editor.fold" }, + "when": "kb-macro.recording && !isMac && editorFocus" }, + { "key": "cmd+alt+]", "command": "kb-macro.wrap", "args": { "command": "editor.unfold" }, + "when": "kb-macro.recording && isMac && editorFocus" }, + { "key": "ctrl+shift+]", "command": "kb-macro.wrap", "args": { "command": "editor.unfold" }, + "when": "kb-macro.recording && !isMac && editorFocus" }, + { "key": "cmd+k cmd+0", "command": "kb-macro.wrap", "args": { "command": "editor.unfoldAll" }, + "when": "kb-macro.recording && isMac && editorFocus" }, + { "key": "ctrl+k ctrl+0", "command": "kb-macro.wrap", "args": { "command": "editor.unfoldAll" }, + "when": "kb-macro.recording && !isMac && editorFocus" }, + { "key": "alt+f12", "command": "kb-macro.wrap", "args": { "command": "editor.action.showContextMenu" }, + "when": "kb-macro.recording && editorTextFocus" }, + { "key": "cmd+shift+d", "command": "kb-macro.wrap", "args": { "command": "editor.action.copyLinesDownAction" }, + "when": "kb-macro.recording && isMac && editorFocus" }, + { "key": "ctrl+shift+d", "command": "kb-macro.wrap", "args": { "command": "editor.action.copyLinesDownAction" }, + "when": "kb-macro.recording && !isMac && editorFocus" }, + { "key": "cmd+l", "command": "kb-macro.wrap", "args": { "command": "expandLineSelection" }, + "when": "kb-macro.recording && isMac && editorFocus" }, + { "key": "ctrl+l", "command": "kb-macro.wrap", "args": { "command": "expandLineSelection" }, + "when": "kb-macro.recording && !isMac && editorFocus" }, + { "key": "cmd+d", "command": "kb-macro.wrap", "args": { "command": "editor.action.addSelectionToNextFindMatch" }, + "when": "kb-macro.recording && isMac && editorFocus" }, + { "key": "ctrl+d", "command": "kb-macro.wrap", "args": { "command": "editor.action.addSelectionToNextFindMatch" }, + "when": "kb-macro.recording && !isMac && editorFocus" }, + { "key": "ctrl+m", "command": "kb-macro.wrap", "args": { "command": "editor.action.jumpToBracket" }, + "when": "kb-macro.recording && editorFocus" }, + { "key": "cmd+alt+/", "command": "kb-macro.wrap", "args": { "command": "editor.action.blockComment" }, + "when": "kb-macro.recording && isMac && editorFocus" }, + { "key": "ctrl+shift+/", "command": "kb-macro.wrap", "args": { "command": "editor.action.blockComment" }, + "when": "kb-macro.recording && !isMac && editorFocus" }, + { "key": "cmd+alt+f", "command": "kb-macro.wrap", "args": { "command": "editor.action.startFindReplaceAction" }, + "when": "kb-macro.recording && isMac" }, + { "key": "ctrl+h", "command": "kb-macro.wrap", "args": { "command": "editor.action.startFindReplaceAction" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "ctrl+shift+k", "command": "kb-macro.wrap", "args": { "command": "editor.action.deleteLines" }, + "when": "kb-macro.recording && editorFocus" }, + { "key": "ctrl+shift+backspace", "command": "kb-macro.wrap", "args": { "command": "deleteAllLeft" }, + "when": "kb-macro.recording && editorFocus" }, + { "key": "ctrl+shift+delete", "command": "kb-macro.wrap", "args": { "command": "deleteAllRight" }, + "when": "kb-macro.recording && editorFocus" }, + { "key": "ctrl+shift+up", "command": "kb-macro.wrap", "args": { "command": "editor.action.insertCursorAbove" }, + "when": "kb-macro.recording && isMac && editorTextFocus" }, + { "key": "alt+shift+up", "command": "kb-macro.wrap", "args": { "command": "editor.action.insertCursorAbove" }, + "when": "kb-macro.recording && !isMac && editorTextFocus" }, + { "key": "ctrl+shift+down", "command": "kb-macro.wrap", "args": { "command": "editor.action.insertCursorBelow" }, + "when": "kb-macro.recording && isMac && editorTextFocus" }, + { "key": "alt+shift+down", "command": "kb-macro.wrap", "args": { "command": "editor.action.insertCursorBelow" }, + "when": "kb-macro.recording && !isMac && editorTextFocus" }, + { "key": "ctrl+shift+pageup", "command": "kb-macro.wrap", "args": { "command": "cursorColumnSelectPageUp" }, + "when": "kb-macro.recording && isMac && editorTextFocus" }, + { "key": "alt+shift+pageup", "command": "kb-macro.wrap", "args": { "command": "cursorColumnSelectPageUp" }, + "when": "kb-macro.recording && !isMac && editorTextFocus" }, + { "key": "ctrl+shift+pagedown", "command": "kb-macro.wrap", "args": { "command": "cursorColumnSelectPageDown" }, + "when": "kb-macro.recording && isMac && editorTextFocus" }, + { "key": "alt+shift+pagedown", "command": "kb-macro.wrap", "args": { "command": "cursorColumnSelectPageDown" }, + "when": "kb-macro.recording && !isMac && editorTextFocus" }, + { "key": "cmd+shift+l", "command": "kb-macro.wrap", "args": { "command": "editor.action.insertCursorAtEndOfEachLineSelected" }, + "when": "kb-macro.recording && isMac && editorTextFocus" }, + { "key": "ctrl+shift+l", "command": "kb-macro.wrap", "args": { "command": "editor.action.insertCursorAtEndOfEachLineSelected" }, + "when": "kb-macro.recording && !isMac && editorTextFocus" }, + { "key": "cmd+1", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex1" }, + "when": "kb-macro.recording && isMac" }, + { "key": "alt+1", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex1" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+2", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex2" }, + "when": "kb-macro.recording && isMac" }, + { "key": "alt+2", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex2" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+3", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex3" }, + "when": "kb-macro.recording && isMac" }, + { "key": "alt+3", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex3" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+4", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex4" }, + "when": "kb-macro.recording && isMac" }, + { "key": "alt+4", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex4" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+5", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex5" }, + "when": "kb-macro.recording && isMac" }, + { "key": "alt+5", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex5" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+6", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex6" }, + "when": "kb-macro.recording && isMac" }, + { "key": "alt+6", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex6" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+7", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex7" }, + "when": "kb-macro.recording && isMac" }, + { "key": "alt+7", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex7" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+8", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex8" }, + "when": "kb-macro.recording && isMac" }, + { "key": "alt+8", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex8" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+9", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex9" }, + "when": "kb-macro.recording && isMac" }, + { "key": "alt+9", "command": "kb-macro.wrap", "args": { "command": "workbench.action.openEditorAtIndex9" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+ctrl+g", "command": "kb-macro.wrap", "args": { "command": "editor.action.selectHighlights" }, + "when": "kb-macro.recording && isMac && editorFocus" }, + { "key": "alt+f3", "command": "kb-macro.wrap", "args": { "command": "editor.action.selectHighlights" }, + "when": "kb-macro.recording && !isMac && editorFocus" }, + { "key": "cmd+shift+r", "command": "kb-macro.wrap", "args": { "command": "workbench.action.showAllSymbols" }, + "when": "kb-macro.recording && isMac" }, + { "key": "ctrl+shift+r", "command": "kb-macro.wrap", "args": { "command": "workbench.action.showAllSymbols" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "alt+left", "command": "kb-macro.wrap", "args": { "command": "cursorWordStartLeft" }, + "when": "kb-macro.recording && isWindows && editorTextFocus" }, + { "key": "ctrl+alt+left", "command": "kb-macro.wrap", "args": { "command": "cursorWordStartLeft" }, + "when": "kb-macro.recording && !isWindows && editorTextFocus" }, + { "key": "alt+right", "command": "kb-macro.wrap", "args": { "command": "cursorWordEndRight" }, + "when": "kb-macro.recording && isWindows && editorTextFocus" }, + { "key": "ctrl+alt+right", "command": "kb-macro.wrap", "args": { "command": "cursorWordEndRight" }, + "when": "kb-macro.recording && !isWindows && editorTextFocus" }, + { "key": "alt+shift+left", "command": "kb-macro.wrap", "args": { "command": "cursorWordStartLeftSelect" }, + "when": "kb-macro.recording && isWindows && editorTextFocus" }, + { "key": "ctrl+alt+shift+left", "command": "kb-macro.wrap", "args": { "command": "cursorWordStartLeftSelect" }, + "when": "kb-macro.recording && !isWindows && editorTextFocus" }, + { "key": "alt+shift+right", "command": "kb-macro.wrap", "args": { "command": "cursorWordEndRightSelect" }, + "when": "kb-macro.recording && isWindows && editorTextFocus" }, + { "key": "ctrl+alt+shift+right", "command": "kb-macro.wrap", "args": { "command": "cursorWordEndRightSelect" }, + "when": "kb-macro.recording && !isWindows && editorTextFocus" }, + { "key": "cmd+j", "command": "kb-macro.wrap", "args": { "command": "editor.action.joinLines" }, + "when": "kb-macro.recording && isMac && editorTextFocus" }, + { "key": "ctrl+j", "command": "kb-macro.wrap", "args": { "command": "editor.action.joinLines" }, + "when": "kb-macro.recording && !isMac && editorTextFocus" }, + { "key": "cmd+k cmd+u", "command": "kb-macro.wrap", "args": { "command": "editor.action.transformToUppercase" }, + "when": "kb-macro.recording && isMac && editorTextFocus" }, + { "key": "ctrl+k ctrl+u", "command": "kb-macro.wrap", "args": { "command": "editor.action.transformToUppercase" }, + "when": "kb-macro.recording && !isMac && editorTextFocus" }, + { "key": "cmd+k cmd+l", "command": "kb-macro.wrap", "args": { "command": "editor.action.transformToLowercase" }, + "when": "kb-macro.recording && isMac && editorTextFocus" }, + { "key": "ctrl+k ctrl+l", "command": "kb-macro.wrap", "args": { "command": "editor.action.transformToLowercase" }, + "when": "kb-macro.recording && !isMac && editorTextFocus" }, + { "key": "cmd+k a", "command": "kb-macro.wrap", "args": { "command": "workbench.action.showErrorsWarnings" }, + "when": "kb-macro.recording && isMac" }, + { "key": "ctrl+k a", "command": "kb-macro.wrap", "args": { "command": "workbench.action.showErrorsWarnings" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+k n", "command": "kb-macro.wrap", "args": { "command": "editor.action.marker.next" }, + "when": "kb-macro.recording && isMac && editorFocus" }, + { "key": "ctrl+k n", "command": "kb-macro.wrap", "args": { "command": "editor.action.marker.next" }, + "when": "kb-macro.recording && !isMac && editorFocus" }, + { "key": "cmd+k p", "command": "kb-macro.wrap", "args": { "command": "editor.action.marker.prev" }, + "when": "kb-macro.recording && isMac && editorFocus" }, + { "key": "ctrl+k p", "command": "kb-macro.wrap", "args": { "command": "editor.action.marker.prev" }, + "when": "kb-macro.recording && !isMac && editorFocus" }, + { "key": "ctrl+1", "command": "kb-macro.wrap", "args": { "command": "workbench.action.focusFirstEditorGroup" }, + "when": "kb-macro.recording && editorFocus" }, + { "key": "ctrl+2", "command": "kb-macro.wrap", "args": { "command": "workbench.action.focusSecondEditorGroup" }, + "when": "kb-macro.recording && editorFocus" }, + { "key": "ctrl+3", "command": "kb-macro.wrap", "args": { "command": "workbench.action.focusThirdEditorGroup" }, + "when": "kb-macro.recording && editorFocus" }, + { "key": "cmd+p", "command": "kb-macro.wrap", "args": { "command": "workbench.action.quickOpenPreviousEditor" }, + "when": "kb-macro.recording && isMac" }, + { "key": "ctrl+p", "command": "kb-macro.wrap", "args": { "command": "workbench.action.quickOpenPreviousEditor" }, + "when": "kb-macro.recording && !isMac" }, + { "key": "cmd+k cmd+k", "command": "kb-macro.wrap", "args": { "command": "deleteAllRight" }, + "when": "kb-macro.recording && isMac && editorTextFocus && !editorReadonly" }, + { "key": "ctrl+k ctrl+k", "command": "kb-macro.wrap", "args": { "command": "deleteAllRight" }, + "when": "kb-macro.recording && !isMac && editorTextFocus && !editorReadonly" }, + { "key": "cmd+shift+space", "command": "kb-macro.wrap", "args": { "command": "editor.action.smartSelect.grow" }, + "when": "kb-macro.recording && isMac && editorTextFocus" }, + { "key": "ctrl+shift+space", "command": "kb-macro.wrap", "args": { "command": "editor.action.smartSelect.grow" }, + "when": "kb-macro.recording && !isMac && editorTextFocus" }, + { "key": "ctrl+q", "mac": "cmd+q", "command": "kb-macro.startRecording", + "when": "!kb-macro.recording" }, + { "key": "ctrl+shift+q", "mac": "cmd+shift+q", "command": "kb-macro.cancelRecording", + "when": "kb-macro.recording" }, + { "key": "ctrl+q", "mac": "cmd+q", "command": "kb-macro.finishRecording", + "when": "kb-macro.recording" }, + { "key": "ctrl+shift+q", "mac": "cmd+shift+q", "command": "kb-macro.playback", + "when": "!kb-macro.recording" } +]