Skip to content

Commit

Permalink
Merge pull request #165 from tshino/update-awesome-emacs-keymap
Browse files Browse the repository at this point in the history
Update for Awesome Emacs Keymap (v0.47.0)
  • Loading branch information
tshino authored Nov 25, 2022
2 parents dc8c19f + d9a5f2c commit 8094b6e
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 3 deletions.
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 Awesome Emacs Keymap (v0.46.0). [#162](https://github.com/tshino/vscode-kb-macro/pull/162)
- Updated keymap wrapper for Awesome Emacs Keymap (v0.47.0). [#165](https://github.com/tshino/vscode-kb-macro/pull/165)

### [0.12.8] - 2022-11-05
- 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 @@ -17,7 +17,7 @@ Click the keymap wrapper link in the table below, which opens a JSON file. Copy
| Keymap extension | Keymap wrapper | Last updated | Start recording | Stop recording | Playback |
| ---------------- | -------------- | ------------ | ---------- | --------- | -------- |
| [Atom Keymap](https://marketplace.visualstudio.com/items?itemName=ms-vscode.atom-keybindings) | [link](ms-vscode.atom-keybindings.json) | 2022-04-05 | `Ctrl+Alt+R` | `Ctrl+Alt+R` | `Ctrl+Alt+P` |
| [Awesome Emacs Keymap](https://marketplace.visualstudio.com/items?itemName=tuttieee.emacs-mcx) | [link](tuttieee.emacs-mcx.json) | 2022-11-18 | `C-x S-9` | `C-x S-0` | `C-x e` |
| [Awesome Emacs Keymap](https://marketplace.visualstudio.com/items?itemName=tuttieee.emacs-mcx) | [link](tuttieee.emacs-mcx.json) | 2022-11-26 | `C-x S-9` | `C-x S-0` | `C-x e` |
| [Delphi Keymap](https://marketplace.visualstudio.com/items?itemName=alefragnani.delphi-keybindings) | [link](alefragnani.delphi-keybindings.json) | 2022-10-09 | `Ctrl/Cmd+Shift+R` | `Ctrl/Cmd+Shift+R` | `Ctrl/Cmd+Shift+P` |
| [Notepad++ Keymap](https://marketplace.visualstudio.com/items?itemName=ms-vscode.notepadplusplus-keybindings) | [link](ms-vscode.notepadplusplus-keybindings.json) | 2021-12-26 | `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) | 2021-12-21 | `Ctrl/Cmd+Q` | `Ctrl/Cmd+Q` | `Ctrl/Cmd+Shift+Q` |
Expand Down
2 changes: 1 addition & 1 deletion keymap-wrapper/tuttieee.emacs-mcx.config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"base": {
"type": "url",
"url": "https://github.com/whitphx/vscode-emacs-mcx/raw/v0.46.0/package.json"
"url": "https://github.com/whitphx/vscode-emacs-mcx/raw/v0.47.0/package.json"
},
"awaitOptions": [
[ "emacs-mcx.forwardChar", "selection" ],
Expand Down
54 changes: 53 additions & 1 deletion keymap-wrapper/tuttieee.emacs-mcx.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[
// Keymap wrapper for Awesome Emacs Keymap v0.46.0
// Keymap wrapper for Awesome Emacs Keymap v0.47.0
// (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 @@ -557,6 +557,54 @@
"when": "kb-macro.recording && !config.emacs-mcx.cursorMoveOnFindWidget && editorFocus && findWidgetVisible && !replaceInputFocussed && !isComposing && config.emacs-mcx.useMetaPrefixEscape" },
{ "key": "ctrl+[ b", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.isearchExit", "args": { "then": "emacs-mcx.backwardWord" }, "await": "document selection" },
"when": "kb-macro.recording && !config.emacs-mcx.cursorMoveOnFindWidget && editorFocus && findWidgetVisible && !replaceInputFocussed && !isComposing && config.emacs-mcx.useMetaPrefixCtrlLeftBracket" },
{ "key": "ctrl+right", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.forwardWord", "await": "selection" },
"when": "kb-macro.recording && editorTextFocus" },
{ "key": "alt+right", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.forwardWord", "await": "selection" },
"when": "kb-macro.recording && editorTextFocus && !config.emacs-mcx.useMetaPrefixMacCmd" },
{ "key": "cmd+right", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.forwardWord", "await": "selection" },
"when": "kb-macro.recording && isMac && editorTextFocus && config.emacs-mcx.useMetaPrefixMacCmd" },
{ "key": "alt+right", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.forwardWord", "await": "selection" },
"when": "kb-macro.recording && !isMac && editorTextFocus && config.emacs-mcx.useMetaPrefixMacCmd" },
{ "key": "escape right", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.forwardWord", "await": "selection" },
"when": "kb-macro.recording && editorTextFocus && config.emacs-mcx.useMetaPrefixEscape" },
{ "key": "ctrl+[ right", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.forwardWord", "await": "selection" },
"when": "kb-macro.recording && editorTextFocus && config.emacs-mcx.useMetaPrefixCtrlLeftBracket" },
{ "key": "ctrl+right", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.isearchExit", "args": { "then": "emacs-mcx.forwardWord" }, "await": "document selection" },
"when": "kb-macro.recording && !config.emacs-mcx.cursorMoveOnFindWidget && editorFocus && findWidgetVisible && !replaceInputFocussed && !isComposing" },
{ "key": "alt+right", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.isearchExit", "args": { "then": "emacs-mcx.forwardWord" }, "await": "document selection" },
"when": "kb-macro.recording && !config.emacs-mcx.cursorMoveOnFindWidget && editorFocus && findWidgetVisible && !replaceInputFocussed && !isComposing && !config.emacs-mcx.useMetaPrefixMacCmd" },
{ "key": "cmd+right", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.isearchExit", "args": { "then": "emacs-mcx.forwardWord" }, "await": "document selection" },
"when": "kb-macro.recording && isMac && !config.emacs-mcx.cursorMoveOnFindWidget && editorFocus && findWidgetVisible && !replaceInputFocussed && !isComposing && config.emacs-mcx.useMetaPrefixMacCmd" },
{ "key": "alt+right", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.isearchExit", "args": { "then": "emacs-mcx.forwardWord" }, "await": "document selection" },
"when": "kb-macro.recording && !isMac && !config.emacs-mcx.cursorMoveOnFindWidget && editorFocus && findWidgetVisible && !replaceInputFocussed && !isComposing && config.emacs-mcx.useMetaPrefixMacCmd" },
{ "key": "escape right", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.isearchExit", "args": { "then": "emacs-mcx.forwardWord" }, "await": "document selection" },
"when": "kb-macro.recording && !config.emacs-mcx.cursorMoveOnFindWidget && editorFocus && findWidgetVisible && !replaceInputFocussed && !isComposing && config.emacs-mcx.useMetaPrefixEscape" },
{ "key": "ctrl+[ right", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.isearchExit", "args": { "then": "emacs-mcx.forwardWord" }, "await": "document selection" },
"when": "kb-macro.recording && !config.emacs-mcx.cursorMoveOnFindWidget && editorFocus && findWidgetVisible && !replaceInputFocussed && !isComposing && config.emacs-mcx.useMetaPrefixCtrlLeftBracket" },
{ "key": "ctrl+left", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.backwardWord", "await": "selection" },
"when": "kb-macro.recording && editorTextFocus" },
{ "key": "alt+left", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.backwardWord", "await": "selection" },
"when": "kb-macro.recording && editorTextFocus && !config.emacs-mcx.useMetaPrefixMacCmd" },
{ "key": "cmd+left", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.backwardWord", "await": "selection" },
"when": "kb-macro.recording && isMac && editorTextFocus && config.emacs-mcx.useMetaPrefixMacCmd" },
{ "key": "alt+left", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.backwardWord", "await": "selection" },
"when": "kb-macro.recording && !isMac && editorTextFocus && config.emacs-mcx.useMetaPrefixMacCmd" },
{ "key": "escape left", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.backwardWord", "await": "selection" },
"when": "kb-macro.recording && editorTextFocus && config.emacs-mcx.useMetaPrefixEscape" },
{ "key": "ctrl+[ left", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.backwardWord", "await": "selection" },
"when": "kb-macro.recording && editorTextFocus && config.emacs-mcx.useMetaPrefixCtrlLeftBracket" },
{ "key": "ctrl+left", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.isearchExit", "args": { "then": "emacs-mcx.backwardWord" }, "await": "document selection" },
"when": "kb-macro.recording && !config.emacs-mcx.cursorMoveOnFindWidget && editorFocus && findWidgetVisible && !replaceInputFocussed && !isComposing" },
{ "key": "alt+left", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.isearchExit", "args": { "then": "emacs-mcx.backwardWord" }, "await": "document selection" },
"when": "kb-macro.recording && !config.emacs-mcx.cursorMoveOnFindWidget && editorFocus && findWidgetVisible && !replaceInputFocussed && !isComposing && !config.emacs-mcx.useMetaPrefixMacCmd" },
{ "key": "cmd+left", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.isearchExit", "args": { "then": "emacs-mcx.backwardWord" }, "await": "document selection" },
"when": "kb-macro.recording && isMac && !config.emacs-mcx.cursorMoveOnFindWidget && editorFocus && findWidgetVisible && !replaceInputFocussed && !isComposing && config.emacs-mcx.useMetaPrefixMacCmd" },
{ "key": "alt+left", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.isearchExit", "args": { "then": "emacs-mcx.backwardWord" }, "await": "document selection" },
"when": "kb-macro.recording && !isMac && !config.emacs-mcx.cursorMoveOnFindWidget && editorFocus && findWidgetVisible && !replaceInputFocussed && !isComposing && config.emacs-mcx.useMetaPrefixMacCmd" },
{ "key": "escape left", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.isearchExit", "args": { "then": "emacs-mcx.backwardWord" }, "await": "document selection" },
"when": "kb-macro.recording && !config.emacs-mcx.cursorMoveOnFindWidget && editorFocus && findWidgetVisible && !replaceInputFocussed && !isComposing && config.emacs-mcx.useMetaPrefixEscape" },
{ "key": "ctrl+[ left", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.isearchExit", "args": { "then": "emacs-mcx.backwardWord" }, "await": "document selection" },
"when": "kb-macro.recording && !config.emacs-mcx.cursorMoveOnFindWidget && editorFocus && findWidgetVisible && !replaceInputFocussed && !isComposing && config.emacs-mcx.useMetaPrefixCtrlLeftBracket" },
{ "key": "alt+m", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.backToIndentation", "await": "selection" },
"when": "kb-macro.recording && editorTextFocus && !config.emacs-mcx.useMetaPrefixMacCmd" },
{ "key": "cmd+m", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.backToIndentation", "await": "selection" },
Expand Down Expand Up @@ -619,6 +667,8 @@
"when": "kb-macro.recording && editorTextFocus && !suggestWidgetVisible && config.emacs-mcx.useMetaPrefixEscape" },
{ "key": "ctrl+[ shift+[", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.backwardParagraph", "await": "selection" },
"when": "kb-macro.recording && editorTextFocus && !suggestWidgetVisible && config.emacs-mcx.useMetaPrefixCtrlLeftBracket" },
{ "key": "ctrl+up", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.backwardParagraph", "await": "selection" },
"when": "kb-macro.recording && editorTextFocus && !suggestWidgetVisible" },
{ "key": "alt+shift+]", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.forwardParagraph", "await": "selection" },
"when": "kb-macro.recording && editorTextFocus && !suggestWidgetVisible && !config.emacs-mcx.useMetaPrefixMacCmd" },
{ "key": "cmd+shift+]", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.forwardParagraph", "await": "selection" },
Expand All @@ -629,6 +679,8 @@
"when": "kb-macro.recording && editorTextFocus && !suggestWidgetVisible && config.emacs-mcx.useMetaPrefixEscape" },
{ "key": "ctrl+[ shift+]", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.forwardParagraph", "await": "selection" },
"when": "kb-macro.recording && editorTextFocus && !suggestWidgetVisible && config.emacs-mcx.useMetaPrefixCtrlLeftBracket" },
{ "key": "ctrl+down", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.forwardParagraph", "await": "selection" },
"when": "kb-macro.recording && editorTextFocus && !suggestWidgetVisible" },
{ "key": "alt+shift+.", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.endOfBuffer", "await": "selection" },
"when": "kb-macro.recording && editorTextFocus && !config.emacs-mcx.useMetaPrefixMacCmd" },
{ "key": "cmd+shift+.", "command": "kb-macro.wrap", "args": { "command": "emacs-mcx.endOfBuffer", "await": "selection" },
Expand Down

0 comments on commit 8094b6e

Please sign in to comment.