Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update keymap wrapper for Vz Keymap v0.19.13 #348

Merged
merged 3 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All notable changes to the Keyboard Macro Bata extension will be documented in t
### [Unreleased]
- Update
- Updated keymap wrapper for Vz Keymap (v0.19.12). [#345](https://github.com/tshino/vscode-kb-macro/pull/345)
- Updated keymap wrapper for Vz Keymap (v0.19.13). [#348](https://github.com/tshino/vscode-kb-macro/pull/348)

### [0.13.13] - 2024-03-04
- Update
Expand Down
2 changes: 1 addition & 1 deletion keymap-wrapper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Click the keymap wrapper link in the table below, which opens a JSON file. Copy
| [Notepad++ Keymap](https://marketplace.visualstudio.com/items?itemName=ms-vscode.notepadplusplus-keybindings) | [link](ms-vscode.notepadplusplus-keybindings.json) | 2023-01-08 | `Ctrl+Shift+R` | `Ctrl+Shift+R` | `Ctrl+Shift+P` |
| [Sublime Text Keymap](https://marketplace.visualstudio.com/items?itemName=ms-vscode.sublime-keybindings) | [link](ms-vscode.sublime-keybindings.json) | 2024-02-14 | `Ctrl/Cmd+Q` | `Ctrl/Cmd+Q` | `Ctrl/Cmd+Shift+Q` |
| [Visual Studio Keymap](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vs-keybindings) | [link](ms-vscode.vs-keybindings.json) | 2023-01-08 | `Ctrl+M R` | `Ctrl+M R` | `Ctrl+M Enter` |
| [Vz Keymap](https://marketplace.visualstudio.com/items?itemName=tshino.vz-like-keymap) | [link](tshino.vz-like-keymap.json) | 2024-03-10 | `Ctrl+_` | `Ctrl+^` | `Ctrl+^` |
| [Vz Keymap](https://marketplace.visualstudio.com/items?itemName=tshino.vz-like-keymap) | [link](tshino.vz-like-keymap.json) | 2024-03-30 | `Ctrl+_` | `Ctrl+^` | `Ctrl+^` |

- Each keyboard shortcut for start/stop recording and playback is assigned to the same ones that the original editor is using, as much as possible.
- You can find the definitions of them at the bottom of each keymap wrapper file (find the `startRecording` command etc.). You can customize them as you like.
Expand Down
14 changes: 13 additions & 1 deletion keymap-wrapper/tshino.vz-like-keymap.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
[
// Keymap wrapper for Vz Keymap v0.19.12
// Keymap wrapper for Vz Keymap v0.19.13
// (required by Keyboard Macro Beta)
// The latest version can be found at:
// https://github.com/tshino/vscode-kb-macro/blob/main/keymap-wrapper/README.md
{ "key": "ctrl+e", "command": "",
"when": "kb-macro.active" },
{ "key": "ctrl+w", "command": "",
"when": "kb-macro.active && config.vzKeymap.ctrl+W" },
{ "key": "ctrl+z", "command": "",
"when": "kb-macro.active && config.vzKeymap.ctrl+Z" },
{ "key": "ctrl+s", "command": "",
"when": "kb-macro.active && editorFocus" },
{ "key": "ctrl+s", "command": "kb-macro.wrap", "args": { "command": "vz.cursorLeft", "await": "selection" },
Expand Down Expand Up @@ -535,6 +541,12 @@
"when": "kb-macro.active && treestickyScrollFocused && config.vzKeymap.listViewKeys" },
{ "key": "ctrl+m", "command": "kb-macro.wrap", "args": { "command": "list.stickyScrollselect" },
"when": "kb-macro.active && treestickyScrollFocused && config.vzKeymap.listViewKeys" },
{ "key": "ctrl+e", "command": "kb-macro.wrap", "args": { "command": "workbench.action.quickOpenNavigatePrevious" },
"when": "kb-macro.active && inQuickOpen && config.vzKeymap.quickOpenKeys" },
{ "key": "ctrl+x", "command": "kb-macro.wrap", "args": { "command": "workbench.action.quickOpenNavigateNext" },
"when": "kb-macro.active && inQuickOpen && config.vzKeymap.quickOpenKeys" },
{ "key": "ctrl+m", "command": "kb-macro.wrap", "args": { "command": "workbench.action.acceptSelectedQuickOpenItem" },
"when": "kb-macro.active && inQuickOpen && config.vzKeymap.quickOpenKeys" },
{ "key": "ctrl+e", "command": "selectPrevCodeAction",
"when": "kb-macro.active && codeActionMenuVisible && config.vzKeymap.codeActionKeys" },
{ "key": "ctrl+x", "command": "selectNextCodeAction",
Expand Down