Skip to content

Commit

Permalink
Merge pull request #449 from tshino/fix-shift-del-linux
Browse files Browse the repository at this point in the history
Fix shift+delete was not recorded on Linux
  • Loading branch information
tshino authored Dec 15, 2024
2 parents 747bb09 + ffc3a9f commit 4d17930
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
All notable changes to the Keyboard Macro Bata extension will be documented in this file.

### [Unreleased]
- Fix
- Fixed: `shift+delete` was not recorded properly on Linux. [#447](https://github.com/tshino/vscode-kb-macro/issues/447)
- Update:
- Updated default keybindings wrappers based on VS Code 1.96.0. [#448](https://github.com/tshino/vscode-kb-macro/pull/448)

Expand Down
18 changes: 18 additions & 0 deletions generator/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,24 @@
}
},
"when": "kb-macro.active && editorTextFocus && !editorReadonly && !suggestWidgetVisible && !renameInputVisible && !codeActionMenuVisible"
},
{
"key": "shift+delete",
"command": "kb-macro.wrap",
"args": {
"command": "editor.action.clipboardCutAction",
"await": "document selection clipboard"
},
"when": "kb-macro.active && !kb-macro.headOfLine && isLinux"
},
{
"key": "shift+delete",
"command": "kb-macro.wrap",
"args": {
"command": "editor.action.clipboardCutAction",
"await": "document clipboard"
},
"when": "kb-macro.active && kb-macro.headOfLine && isLinux"
}
],
"footer": [
Expand Down
18 changes: 18 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,24 @@
},
"when": "kb-macro.active && editorTextFocus && !editorReadonly && !suggestWidgetVisible && !renameInputVisible && !codeActionMenuVisible"
},
{
"key": "shift+delete",
"command": "kb-macro.wrap",
"args": {
"command": "editor.action.clipboardCutAction",
"await": "document selection clipboard"
},
"when": "kb-macro.active && !kb-macro.headOfLine && isLinux"
},
{
"key": "shift+delete",
"command": "kb-macro.wrap",
"args": {
"command": "editor.action.clipboardCutAction",
"await": "document clipboard"
},
"when": "kb-macro.active && kb-macro.headOfLine && isLinux"
},
{
"key": "escape escape",
"command": "kb-macro.wrap",
Expand Down

0 comments on commit 4d17930

Please sign in to comment.