Skip to content

Commit

Permalink
Fix shift+delete was not recorded on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
tshino committed Dec 15, 2024
1 parent 747bb09 commit fd48da0
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
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 fd48da0

Please sign in to comment.