Skip to content

Commit

Permalink
Merge pull request #87 from tshino/update-default-keybinding-2022-04-…
Browse files Browse the repository at this point in the history
…02-16-58

Update wrappers based on vscode 1.66.0
  • Loading branch information
tshino authored Apr 3, 2022
2 parents e7989bf + a485443 commit 501be62
Show file tree
Hide file tree
Showing 5 changed files with 236 additions and 123 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ All notable changes to the Keyboard Macro Bata extension will be documented in t
- Added 'When clause context' section to the README.
- Added 'Keymap wrappers' section to [DESIGN.md](./DESIGN.md).
- Update
- Updated default keybindings based on VS Code 1.66.0. [#87](https://github.com/tshino/vscode-kb-macro/pull/87)
- Updated default keybindings based on VS Code 1.65.2. [#74](https://github.com/tshino/vscode-kb-macro/pull/74)
- Updated keymap wrapper for Awesome Emacs Keymap (v0.41.1). [#81](https://github.com/tshino/vscode-kb-macro/pull/81)
- Internal
Expand Down
48 changes: 38 additions & 10 deletions generator/default-keybindings-linux.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Default Keybindings of Visual Studio Code 1.65.2 for Linux
// Default Keybindings of Visual Studio Code 1.66.0 for Linux
// Override key bindings by placing them into your key bindings file.
[
{ "key": "escape escape", "command": "workbench.action.exitZenMode",
Expand Down Expand Up @@ -233,6 +233,8 @@
"when": "editorTextFocus && !editorReadonly" },
{ "key": "ctrl+k ctrl+d", "command": "editor.action.moveSelectionToNextFindMatch",
"when": "editorFocus" },
{ "key": "alt+f9", "command": "editor.action.nextCommentThreadAction",
"when": "editorFocus" },
{ "key": "f3", "command": "editor.action.nextMatchFindAction",
"when": "editorFocus" },
{ "key": "enter", "command": "editor.action.nextMatchFindAction",
Expand All @@ -247,6 +249,8 @@
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" },
{ "key": "ctrl+shift+f12", "command": "editor.action.peekImplementation",
"when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" },
{ "key": "shift+alt+f9", "command": "editor.action.previousCommentThreadAction",
"when": "editorFocus" },
{ "key": "shift+f3", "command": "editor.action.previousMatchFindAction",
"when": "editorFocus" },
{ "key": "shift+enter", "command": "editor.action.previousMatchFindAction",
Expand Down Expand Up @@ -763,6 +767,8 @@
"when": "notificationFocus && notificationToastsVisible" },
{ "key": "up", "command": "notifications.focusPreviousToast",
"when": "notificationFocus && notificationToastsVisible" },
{ "key": "escape", "command": "problems.action.clearFilterText",
"when": "problemsFilterFocus" },
{ "key": "ctrl+c", "command": "problems.action.copy",
"when": "problemsVisibility && !relatedInformationFocus && focusedView == 'workbench.panel.markers.view'" },
{ "key": "ctrl+f", "command": "problems.action.focusFilter",
Expand Down Expand Up @@ -849,10 +855,10 @@
"when": "editorTextFocus" },
{ "key": "ctrl+; ctrl+e", "command": "testing.debugFailTests" },
{ "key": "ctrl+; ctrl+l", "command": "testing.debugLastRun" },
{ "key": "ctrl+; m", "command": "testing.openOutputPeek" },
{ "key": "ctrl+; ctrl+m", "command": "testing.openOutputPeek" },
{ "key": "ctrl+; e", "command": "testing.reRunFailTests" },
{ "key": "ctrl+; l", "command": "testing.reRunLastRun" },
{ "key": "ctrl+; r", "command": "testing.refreshTests",
{ "key": "ctrl+; ctrl+r", "command": "testing.refreshTests",
"when": "testing.canRefresh" },
{ "key": "ctrl+; a", "command": "testing.runAll" },
{ "key": "ctrl+; c", "command": "testing.runAtCursor",
Expand All @@ -862,7 +868,7 @@
{ "key": "ctrl+; ctrl+o", "command": "testing.showMostRecentOutput",
"when": "testing.hasAnyResults" },
{ "key": "ctrl+; ctrl+i", "command": "testing.toggleInlineTestOutput" },
{ "key": "ctrl+h", "command": "testing.toggleTestingPeekHistory",
{ "key": "alt+h", "command": "testing.toggleTestingPeekHistory",
"when": "testing.isPeekVisible" },
{ "key": "alt+c", "command": "toggleSearchCaseSensitive",
"when": "searchViewletFocus" },
Expand Down Expand Up @@ -1091,12 +1097,20 @@
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" },
{ "key": "shift+end", "command": "workbench.action.terminal.scrollToBottom",
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" },
{ "key": "ctrl+down", "command": "workbench.action.terminal.scrollToNextCommand",
"when": "terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || terminalFocus && terminalProcessSupported && !accessibilityModeEnabled" },
{ "key": "ctrl+up", "command": "workbench.action.terminal.scrollToPreviousCommand",
"when": "terminalFocus && terminalHasBeenCreated && !accessibilityModeEnabled || terminalFocus && terminalProcessSupported && !accessibilityModeEnabled" },
{ "key": "shift+home", "command": "workbench.action.terminal.scrollToTop",
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" },
{ "key": "ctrl+shift+up", "command": "workbench.action.terminal.scrollUp",
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" },
{ "key": "shift+pageup", "command": "workbench.action.terminal.scrollUpPage",
"when": "terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || terminalFocus && terminalProcessSupported && !terminalAltBufferActive" },
{ "key": "ctrl+shift+down", "command": "workbench.action.terminal.selectToNextCommand",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" },
{ "key": "ctrl+shift+up", "command": "workbench.action.terminal.selectToPreviousCommand",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" },
{ "key": "ctrl+backspace", "command": "workbench.action.terminal.sendSequence",
"when": "terminalFocus",
"args": {"text":"\u0017"} },
Expand Down Expand Up @@ -1421,7 +1435,6 @@
// - editor.action.moveCarretLeftAction
// - editor.action.moveCarretRightAction
// - editor.action.moveSelectionToPreviousFindMatch
// - editor.action.nextCommentThreadAction
// - editor.action.openDeclarationToTheSide
// - editor.action.openLink
// - editor.action.peekDeclaration
Expand Down Expand Up @@ -1659,7 +1672,9 @@
// - imagePreview.zoomIn
// - imagePreview.zoomOut
// - inlayHints.startReadingLineWithHint
// - interactive.history.focus
// - interactive.input.clear
// - interactive.input.focus
// - ipynb.newUntitledIpynb
// - ipynb.openIpynbInNotebookEditor
// - javascript.goToProjectConfig
Expand Down Expand Up @@ -1774,7 +1789,6 @@
// - outline.toggleVisibility
// - paste
// - perfview.show
// - problems.action.clearFilterText
// - problems.action.copyMessage
// - problems.action.copyRelatedInformationMessage
// - problems.action.showMultilineMessage
Expand Down Expand Up @@ -1874,7 +1888,9 @@
// - testing.viewAsList
// - testing.viewAsTree
// - timeline.focus
// - timeline.removeView
// - timeline.resetViewLocation
// - timeline.toggleVisibility
// - toggle.diff.ignoreTrimWhitespace
// - toggle.diff.renderSideBySide
// - toggleEscapeSequenceLogging
Expand Down Expand Up @@ -1995,6 +2011,19 @@
// - workbench.action.inspectKeyMappingsJSON
// - workbench.action.joinAllGroups
// - workbench.action.joinTwoGroups
// - workbench.action.localHistory.compareWithFile
// - workbench.action.localHistory.compareWithPrevious
// - workbench.action.localHistory.compareWithSelected
// - workbench.action.localHistory.create
// - workbench.action.localHistory.delete
// - workbench.action.localHistory.deleteAll
// - workbench.action.localHistory.open
// - workbench.action.localHistory.rename
// - workbench.action.localHistory.restore
// - workbench.action.localHistory.restoreViaEditor
// - workbench.action.localHistory.restoreViaPicker
// - workbench.action.localHistory.revealInOS
// - workbench.action.localHistory.selectForCompare
// - workbench.action.lockEditorGroup
// - workbench.action.logStorage
// - workbench.action.logWorkingCopies
Expand All @@ -2006,7 +2035,9 @@
// - workbench.action.moveEditorToLeftGroup
// - workbench.action.moveEditorToRightGroup
// - workbench.action.moveFocusedView
// - workbench.action.movePanelToSecondarySideBar
// - workbench.action.movePanelToSidePanel
// - workbench.action.moveSecondarySideBarToPanel
// - workbench.action.moveSideBarLeft
// - workbench.action.moveSideBarRight
// - workbench.action.moveSidePanelToPanel
Expand Down Expand Up @@ -2155,6 +2186,7 @@
// - workbench.action.terminal.changeIconPanel
// - workbench.action.terminal.clear
// - workbench.action.terminal.clearCommandHistory
// - workbench.action.terminal.copySelectionAsHtml
// - workbench.action.terminal.createProfileButton
// - workbench.action.terminal.detachSession
// - workbench.action.terminal.focus
Expand Down Expand Up @@ -2189,13 +2221,9 @@
// - workbench.action.terminal.runActiveFile
// - workbench.action.terminal.runRecentCommand
// - workbench.action.terminal.runSelectedText
// - workbench.action.terminal.scrollToNextCommand
// - workbench.action.terminal.scrollToPreviousCommand
// - workbench.action.terminal.selectAll
// - workbench.action.terminal.selectDefaultShell
// - workbench.action.terminal.selectToNextCommand
// - workbench.action.terminal.selectToNextLine
// - workbench.action.terminal.selectToPreviousCommand
// - workbench.action.terminal.selectToPreviousLine
// - workbench.action.terminal.setDimensions
// - workbench.action.terminal.showEnvironmentInformation
Expand Down
37 changes: 30 additions & 7 deletions generator/default-keybindings-mac.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Default Keybindings of Visual Studio Code 1.65.2 for macOS
// Default Keybindings of Visual Studio Code 1.66.0 for macOS
// Override key bindings by placing them into your key bindings file.
[
{ "key": "escape escape", "command": "workbench.action.exitZenMode",
Expand Down Expand Up @@ -293,6 +293,8 @@
"when": "editorTextFocus && !editorReadonly" },
{ "key": "cmd+k cmd+d", "command": "editor.action.moveSelectionToNextFindMatch",
"when": "editorFocus" },
{ "key": "alt+f9", "command": "editor.action.nextCommentThreadAction",
"when": "editorFocus" },
{ "key": "f3", "command": "editor.action.nextMatchFindAction",
"when": "editorFocus" },
{ "key": "cmd+g", "command": "editor.action.nextMatchFindAction",
Expand All @@ -309,6 +311,8 @@
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" },
{ "key": "shift+cmd+f12", "command": "editor.action.peekImplementation",
"when": "editorHasImplementationProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" },
{ "key": "shift+alt+f9", "command": "editor.action.previousCommentThreadAction",
"when": "editorFocus" },
{ "key": "shift+f3", "command": "editor.action.previousMatchFindAction",
"when": "editorFocus" },
{ "key": "shift+cmd+g", "command": "editor.action.previousMatchFindAction",
Expand Down Expand Up @@ -850,6 +854,8 @@
"when": "notificationFocus && notificationToastsVisible" },
{ "key": "up", "command": "notifications.focusPreviousToast",
"when": "notificationFocus && notificationToastsVisible" },
{ "key": "escape", "command": "problems.action.clearFilterText",
"when": "problemsFilterFocus" },
{ "key": "cmd+c", "command": "problems.action.copy",
"when": "problemsVisibility && !relatedInformationFocus && focusedView == 'workbench.panel.markers.view'" },
{ "key": "cmd+f", "command": "problems.action.focusFilter",
Expand Down Expand Up @@ -943,10 +949,10 @@
"when": "editorTextFocus" },
{ "key": "cmd+; cmd+e", "command": "testing.debugFailTests" },
{ "key": "cmd+; cmd+l", "command": "testing.debugLastRun" },
{ "key": "cmd+; m", "command": "testing.openOutputPeek" },
{ "key": "cmd+; cmd+m", "command": "testing.openOutputPeek" },
{ "key": "cmd+; e", "command": "testing.reRunFailTests" },
{ "key": "cmd+; l", "command": "testing.reRunLastRun" },
{ "key": "cmd+; r", "command": "testing.refreshTests",
{ "key": "cmd+; cmd+r", "command": "testing.refreshTests",
"when": "testing.canRefresh" },
{ "key": "cmd+; a", "command": "testing.runAll" },
{ "key": "cmd+; c", "command": "testing.runAtCursor",
Expand All @@ -956,7 +962,7 @@
{ "key": "cmd+; cmd+o", "command": "testing.showMostRecentOutput",
"when": "testing.hasAnyResults" },
{ "key": "cmd+; cmd+i", "command": "testing.toggleInlineTestOutput" },
{ "key": "cmd+h", "command": "testing.toggleTestingPeekHistory",
{ "key": "alt+h", "command": "testing.toggleTestingPeekHistory",
"when": "testing.isPeekVisible" },
{ "key": "alt+cmd+c", "command": "toggleSearchCaseSensitive",
"when": "searchViewletFocus && !fileMatchOrFolderMatchFocus" },
Expand Down Expand Up @@ -1547,7 +1553,6 @@
// - editor.action.moveCarretLeftAction
// - editor.action.moveCarretRightAction
// - editor.action.moveSelectionToPreviousFindMatch
// - editor.action.nextCommentThreadAction
// - editor.action.openDeclarationToTheSide
// - editor.action.openLink
// - editor.action.peekDeclaration
Expand Down Expand Up @@ -1776,15 +1781,16 @@
// - git.undoCommit
// - git.unstage
// - git.unstageAll
// - github.provide-manually
// - github.publish
// - goToNextReferenceFromEmbeddedEditor
// - goToPreviousReferenceFromEmbeddedEditor
// - help.tweetFeedback
// - imagePreview.zoomIn
// - imagePreview.zoomOut
// - inlayHints.startReadingLineWithHint
// - interactive.history.focus
// - interactive.input.clear
// - interactive.input.focus
// - ipynb.newUntitledIpynb
// - ipynb.openIpynbInNotebookEditor
// - javascript.goToProjectConfig
Expand Down Expand Up @@ -1898,7 +1904,6 @@
// - outline.toggleVisibility
// - paste
// - perfview.show
// - problems.action.clearFilterText
// - problems.action.copyMessage
// - problems.action.copyRelatedInformationMessage
// - problems.action.showMultilineMessage
Expand Down Expand Up @@ -1997,7 +2002,9 @@
// - testing.viewAsList
// - testing.viewAsTree
// - timeline.focus
// - timeline.removeView
// - timeline.resetViewLocation
// - timeline.toggleVisibility
// - toggle.diff.ignoreTrimWhitespace
// - toggle.diff.renderSideBySide
// - toggleEscapeSequenceLogging
Expand Down Expand Up @@ -2119,6 +2126,19 @@
// - workbench.action.installCommandLine
// - workbench.action.joinAllGroups
// - workbench.action.joinTwoGroups
// - workbench.action.localHistory.compareWithFile
// - workbench.action.localHistory.compareWithPrevious
// - workbench.action.localHistory.compareWithSelected
// - workbench.action.localHistory.create
// - workbench.action.localHistory.delete
// - workbench.action.localHistory.deleteAll
// - workbench.action.localHistory.open
// - workbench.action.localHistory.rename
// - workbench.action.localHistory.restore
// - workbench.action.localHistory.restoreViaEditor
// - workbench.action.localHistory.restoreViaPicker
// - workbench.action.localHistory.revealInOS
// - workbench.action.localHistory.selectForCompare
// - workbench.action.lockEditorGroup
// - workbench.action.logStorage
// - workbench.action.logWorkingCopies
Expand All @@ -2131,7 +2151,9 @@
// - workbench.action.moveEditorToLeftGroup
// - workbench.action.moveEditorToRightGroup
// - workbench.action.moveFocusedView
// - workbench.action.movePanelToSecondarySideBar
// - workbench.action.movePanelToSidePanel
// - workbench.action.moveSecondarySideBarToPanel
// - workbench.action.moveSideBarLeft
// - workbench.action.moveSideBarRight
// - workbench.action.moveSidePanelToPanel
Expand Down Expand Up @@ -2277,6 +2299,7 @@
// - workbench.action.terminal.changeIconInstance
// - workbench.action.terminal.changeIconPanel
// - workbench.action.terminal.clearCommandHistory
// - workbench.action.terminal.copySelectionAsHtml
// - workbench.action.terminal.createProfileButton
// - workbench.action.terminal.detachSession
// - workbench.action.terminal.focus
Expand Down
Loading

0 comments on commit 501be62

Please sign in to comment.