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.9) #281

Merged
merged 3 commits into from
Aug 11, 2023
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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to the Keyboard Macro Bata extension will be documented in this file.

### [Unreleased]
- Update
- Updated keymap wrapper for Vz Keymap (v0.19.9). [#281](https://github.com/tshino/vscode-kb-macro/pull/281)

### [0.13.7] - 2023-08-05
- Update
- Updated default keybindings wrappers based on vscode 1.81.0. [#279](https://github.com/tshino/vscode-kb-macro/pull/279)
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) | 2023-01-08 | `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) | 2023-07-15 | `Ctrl+_` | `Ctrl+^` | `Ctrl+^` |
| [Vz Keymap](https://marketplace.visualstudio.com/items?itemName=tshino.vz-like-keymap) | [link](tshino.vz-like-keymap.json) | 2023-08-11 | `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
36 changes: 31 additions & 5 deletions keymap-wrapper/tshino.vz-like-keymap.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[
// Keymap wrapper for Vz Keymap v0.19.8
// Keymap wrapper for Vz Keymap v0.19.9
// (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
Expand Down Expand Up @@ -238,19 +238,19 @@
{ "key": "ctrl+k y", "command": "kb-macro.wrap", "args": { "command": "vz.clipboardClearStack", "await": "clipboard" },
"when": "kb-macro.active && editorTextFocus" },
{ "key": "ctrl+k ctrl+u", "command": "kb-macro.wrap", "args": { "command": "undo", "await": "document selection" },
"when": "kb-macro.active && editorTextFocus && !editorReadonly && !vz.keyboardMacroRecording" },
"when": "kb-macro.active" },
{ "key": "ctrl+k ctrl+u", "command": "kb-macro.wrap", "args": { "command": "vz.undo", "await": "document selection" },
"when": "kb-macro.active && editorTextFocus && !editorReadonly && vz.keyboardMacroRecording" },
{ "key": "ctrl+k u", "command": "kb-macro.wrap", "args": { "command": "undo", "await": "document selection" },
"when": "kb-macro.active && editorTextFocus && !editorReadonly && !vz.keyboardMacroRecording" },
"when": "kb-macro.active" },
{ "key": "ctrl+k u", "command": "kb-macro.wrap", "args": { "command": "vz.undo", "await": "document selection" },
"when": "kb-macro.active && editorTextFocus && !editorReadonly && vz.keyboardMacroRecording" },
{ "key": "alt+backspace", "command": "kb-macro.wrap", "args": { "command": "undo", "await": "document selection" },
"when": "kb-macro.active && editorTextFocus && !editorReadonly && !vz.keyboardMacroRecording" },
"when": "kb-macro.active" },
{ "key": "alt+backspace", "command": "kb-macro.wrap", "args": { "command": "vz.undo", "await": "document selection" },
"when": "kb-macro.active && editorTextFocus && !editorReadonly && vz.keyboardMacroRecording" },
{ "key": "shift+alt+backspace", "command": "kb-macro.wrap", "args": { "command": "redo", "await": "document selection" },
"when": "kb-macro.active && editorTextFocus && !editorReadonly && !vz.keyboardMacroRecording" },
"when": "kb-macro.active" },
{ "key": "shift+alt+backspace", "command": "kb-macro.wrap", "args": { "command": "vz.redo", "await": "document selection" },
"when": "kb-macro.active && editorTextFocus && !editorReadonly && vz.keyboardMacroRecording" },
{ "key": "ctrl+q ctrl+f", "command": "kb-macro.wrap", "args": { "command": "vz.find" },
Expand Down Expand Up @@ -435,6 +435,10 @@
"when": "kb-macro.active && listFocus && !inputFocus && config.vzKeymap.listViewKeys" },
{ "key": "ctrl+q c", "command": "kb-macro.wrap", "args": { "command": "list.focusLast" },
"when": "kb-macro.active && listFocus && !inputFocus && config.vzKeymap.listViewKeys" },
{ "key": "ctrl+w", "command": "kb-macro.wrap", "args": { "command": "list.scrollUp" },
"when": "kb-macro.active && listFocus && !inputFocus && config.vzKeymap.listViewKeys && config.vzKeymap.ctrl+W" },
{ "key": "ctrl+z", "command": "kb-macro.wrap", "args": { "command": "list.scrollDown" },
"when": "kb-macro.active && listFocus && !inputFocus && config.vzKeymap.listViewKeys && config.vzKeymap.ctrl+Z" },
{ "key": "ctrl+m", "command": "kb-macro.wrap", "args": { "command": "list.select" },
"when": "kb-macro.active && listFocus && !inputFocus && config.vzKeymap.listViewKeys" },
{ "key": "ctrl+e", "command": "kb-macro.wrap", "args": { "command": "selectPrevSuggestion", "record": "side-effect" },
Expand Down Expand Up @@ -501,6 +505,28 @@
"when": "kb-macro.active && editorHoverFocused && config.vzKeymap.editorHoverKeys" },
{ "key": "ctrl+q c", "command": "kb-macro.wrap", "args": { "command": "editor.action.goToBottomHover" },
"when": "kb-macro.active && editorHoverFocused && config.vzKeymap.editorHoverKeys" },
{ "key": "ctrl+w", "command": "kb-macro.wrap", "args": { "command": "search.focus.previousInputBox" },
"when": "kb-macro.active && searchViewletFocus && searchViewletVisible && config.vzKeymap.searchViewletKeys && config.vzKeymap.ctrl+W" },
{ "key": "ctrl+z", "command": "kb-macro.wrap", "args": { "command": "search.focus.nextInputBox" },
"when": "kb-macro.active && searchViewletFocus && searchViewletVisible && config.vzKeymap.searchViewletKeys && config.vzKeymap.ctrl+Z" },
{ "key": "ctrl+m", "command": "kb-macro.wrap", "args": { "command": "search.action.openResult" },
"when": "kb-macro.active && fileMatchOrMatchFocus && searchViewletVisible && config.vzKeymap.searchViewletKeys" },
{ "key": "ctrl+d", "command": "kb-macro.wrap", "args": { "command": "workbench.statusBar.focusNext" },
"when": "kb-macro.active && statusBarFocused && config.vzKeymap.statusBarKeys" },
{ "key": "ctrl+s", "command": "kb-macro.wrap", "args": { "command": "workbench.statusBar.focusPrevious" },
"when": "kb-macro.active && statusBarFocused && config.vzKeymap.statusBarKeys" },
{ "key": "ctrl+a", "command": "kb-macro.wrap", "args": { "command": "workbench.statusBar.focusFirst" },
"when": "kb-macro.active && statusBarFocused && config.vzKeymap.statusBarKeys" },
{ "key": "ctrl+q ctrl+s", "command": "kb-macro.wrap", "args": { "command": "workbench.statusBar.focusFirst" },
"when": "kb-macro.active && statusBarFocused && config.vzKeymap.statusBarKeys" },
{ "key": "ctrl+q s", "command": "kb-macro.wrap", "args": { "command": "workbench.statusBar.focusFirst" },
"when": "kb-macro.active && statusBarFocused && config.vzKeymap.statusBarKeys" },
{ "key": "ctrl+f", "command": "kb-macro.wrap", "args": { "command": "workbench.statusBar.focusLast" },
"when": "kb-macro.active && statusBarFocused && config.vzKeymap.statusBarKeys" },
{ "key": "ctrl+q ctrl+d", "command": "kb-macro.wrap", "args": { "command": "workbench.statusBar.focusLast" },
"when": "kb-macro.active && statusBarFocused && config.vzKeymap.statusBarKeys" },
{ "key": "ctrl+q d", "command": "kb-macro.wrap", "args": { "command": "workbench.statusBar.focusLast" },
"when": "kb-macro.active && statusBarFocused && config.vzKeymap.statusBarKeys" },
{ "key": "ctrl+oem_102", "command": "kb-macro.startRecording",
"when": "!kb-macro.recording && config.vzKeymap.ctrl+_" },
{ "key": "ctrl+oem_102", "command": "kb-macro.cancelRecording",
Expand Down