Skip to content

Commit

Permalink
Merge pull request #22 from tshino/atom-keymap
Browse files Browse the repository at this point in the history
Add Atom Keymap support
  • Loading branch information
tshino authored Dec 23, 2021
2 parents 5157955 + dcc9f2d commit 29d4a69
Show file tree
Hide file tree
Showing 4 changed files with 300 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All notable changes to the Keyboard Macro Bata extension will be documented in t

### [Unreleased]
- New
- Added Atom Keymap support. (See [Keymap Wrappers](keymap-wrapper/README.md)) [#22](https://github.com/tshino/vscode-kb-macro/pull/22)
- Added Notepad++ Keymap support. (See [Keymap Wrappers](keymap-wrapper/README.md)) [#21](https://github.com/tshino/vscode-kb-macro/pull/21)
- Update
- Added comment lines to keymap wrapper files to describe keymap name and its version. [#20](https://github.com/tshino/vscode-kb-macro/pull/20)
Expand Down
1 change: 1 addition & 0 deletions keymap-wrapper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ You can find the keybinding definitions for start/stop recording and playback at

| Keymap extension | Keymap wrapper (JSON) | Last updated | Start rec. | Stop rec. | Playback | Note |
| ---------------- | -------------- | ------------ | ---------- | --------- | -------- | ---- |
| [Atom Keymap](https://marketplace.visualstudio.com/items?itemName=ms-vscode.atom-keybindings) | [ms-vscode.atom-keybindings.json](ms-vscode.atom-keybindings.json) | 2021-12-24 | `Ctrl+Alt+R` | `Ctrl+Alt+R` | `Ctrl+Alt+P` | |
| [Awesome Emacs Keymap](https://marketplace.visualstudio.com/items?itemName=tuttieee.emacs-mcx) | [tuttieee.emacs-mcx.json](tuttieee.emacs-mcx.json) | 2021-12-17 | `C-x S-9` | `C-x S-0` | `C-x e` | VS Code can't map '(' and ')' keys |
| [Notepad++ Keymap](https://marketplace.visualstudio.com/items?itemName=ms-vscode.notepadplusplus-keybindings) | [ms-vscode.notepadplusplus-keybindings.json](ms-vscode.notepadplusplus-keybindings.json) | 2021-12-21 | `Ctrl+Shift+R` | `Ctrl+Shift+R` | `Ctrl+Shift+P` | `Ctrl+Shift+P` conflicts with Command Palette. |
| [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-21 | `Ctrl+Q` | `Ctrl+Q` | `Ctrl+Shift+Q` | |
Expand Down
28 changes: 28 additions & 0 deletions keymap-wrapper/ms-vscode.atom-keybindings.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"base": {
"type": "url",
"url": "https://github.com/microsoft/vscode-atom-keybindings/raw/main/package.json"
},
"footer": [
{
"key": "ctrl+alt+r",
"command": "kb-macro.startRecording",
"when": "!kb-macro.recording"
},
{
"key": "ctrl+alt+r",
"command": "kb-macro.finishRecording",
"when": "kb-macro.recording"
},
{
"key": "ctrl+alt+p",
"command": "kb-macro.playback",
"when": "!kb-macro.recording"
},
{
"key": "ctrl+alt+p",
"command": "kb-macro.cancelRecording",
"when": "kb-macro.recording"
}
]
}
Loading

0 comments on commit 29d4a69

Please sign in to comment.