Skip to content

Commit

Permalink
Merge pull request #170 from tshino/update-default-keybinding-2022-12…
Browse files Browse the repository at this point in the history
…-09-16-53

Update wrappers based on VS Code 1.74.0
  • Loading branch information
tshino authored Dec 9, 2022
2 parents 5131a51 + 3195894 commit a3d361b
Show file tree
Hide file tree
Showing 5 changed files with 156 additions and 81 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]
- Update
- Updated default keybindings wrappers based on vscode 1.74.0. [#170](https://github.com/tshino/vscode-kb-macro/pull/170)
- 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)
- Updated keymap wrapper for Vz Keymap (v0.19.3). [#166](https://github.com/tshino/vscode-kb-macro/pull/166)
Expand Down
59 changes: 39 additions & 20 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.73.1 for Linux
// Default Keybindings of Visual Studio Code 1.74.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 @@ -427,6 +427,8 @@
"when": "commentEditorFocused" },
{ "key": "ctrl+enter", "command": "workbench.action.submitComment",
"when": "commentEditorFocused" },
{ "key": "ctrl+.", "command": "workbench.action.terminal.showQuickFixes",
"when": "terminalFocus" },
{ "key": "alt+f8", "command": "testing.goToNextMessage",
"when": "editorFocus && testing.isPeekVisible" },
{ "key": "shift+alt+f8", "command": "testing.goToPreviousMessage",
Expand Down Expand Up @@ -493,6 +495,10 @@
"when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" },
{ "key": "enter", "command": "acceptSelectedSuggestion",
"when": "acceptSuggestionOnEnter && suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && suggestionMakesTextEdit && textInputFocus" },
{ "key": "ctrl+i", "command": "focusSuggestion",
"when": "suggestWidgetVisible && textInputFocus && !config.editor.suggest.selectQuickSuggestions && !suggestWidgetHasFocusedSuggestion" },
{ "key": "ctrl+space", "command": "focusSuggestion",
"when": "suggestWidgetVisible && textInputFocus && !config.editor.suggest.selectQuickSuggestions && !suggestWidgetHasFocusedSuggestion" },
{ "key": "shift+escape", "command": "hideSuggestWidget",
"when": "suggestWidgetVisible && textInputFocus" },
{ "key": "escape", "command": "hideSuggestWidget",
Expand Down Expand Up @@ -520,9 +526,9 @@
{ "key": "up", "command": "selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" },
{ "key": "ctrl+i", "command": "toggleSuggestionDetails",
"when": "suggestWidgetVisible && textInputFocus" },
"when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" },
{ "key": "ctrl+space", "command": "toggleSuggestionDetails",
"when": "suggestWidgetVisible && textInputFocus" },
"when": "suggestWidgetHasFocusedSuggestion && suggestWidgetVisible && textInputFocus" },
{ "key": "ctrl+alt+space", "command": "toggleSuggestionFocus",
"when": "suggestWidgetVisible && textInputFocus" },
{ "key": "enter", "command": "acceptRenameInput",
Expand All @@ -540,7 +546,7 @@
{ "key": "ctrl+shift+l", "command": "addCursorsAtSearchResults",
"when": "fileMatchOrMatchFocus && searchViewletVisible" },
{ "key": "ctrl+shift+;", "command": "breadcrumbs.focus",
"when": "breadcrumbsPossible" },
"when": "breadcrumbsPossible && breadcrumbsVisible" },
{ "key": "ctrl+shift+[IntlBackslash]", "command": "breadcrumbs.focusAndSelect",
"when": "breadcrumbsPossible && breadcrumbsVisible" },
{ "key": "ctrl+shift+.", "command": "breadcrumbs.focusAndSelect",
Expand Down Expand Up @@ -857,12 +863,12 @@
"when": "folderMatchFocus && replaceActive && searchViewletVisible" },
{ "key": "ctrl+shift+1", "command": "search.action.replaceAllInFolder",
"when": "folderMatchFocus && replaceActive && searchViewletVisible" },
{ "key": "shift+alt+f", "command": "search.action.restrictSearchToFolder",
"when": "folderMatchWithResourceFocus && searchViewletVisible" },
{ "key": "ctrl+down", "command": "search.focus.nextInputBox",
"when": "inSearchEditor && inputBoxFocus || inputBoxFocus && searchViewletVisible" },
{ "key": "ctrl+up", "command": "search.focus.previousInputBox",
"when": "inSearchEditor && inputBoxFocus || inputBoxFocus && searchViewletVisible && !searchInputBoxFocus" },
{ "key": "shift+alt+f", "command": "search.restrictSearchToFolder",
"when": "folderMatchWithResourceFocus && searchViewletVisible" },
{ "key": "ctrl+shift+l", "command": "selectAllSearchEditorMatches",
"when": "inSearchEditor" },
{ "key": "escape", "command": "settings.action.focusLevelUp",
Expand Down Expand Up @@ -1128,8 +1134,6 @@
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" },
{ "key": "shift+insert", "command": "workbench.action.terminal.pasteSelection",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" },
{ "key": "ctrl+.", "command": "workbench.action.terminal.quickFix",
"when": "terminalFocus && terminalProcessSupported" },
{ "key": "f2", "command": "workbench.action.terminal.renameInstance",
"when": "terminalHasBeenCreated && terminalTabsFocus && terminalTabsSingularSelection || terminalProcessSupported && terminalTabsFocus && terminalTabsSingularSelection" },
{ "key": "ctrl+shift+left", "command": "workbench.action.terminal.resizePaneLeft",
Expand Down Expand Up @@ -1373,23 +1377,23 @@
{ "key": "shift+alt+h", "command": "references-view.showCallHierarchy",
"when": "editorHasCallHierarchyProvider" },
{ "key": "ctrl+.", "command": "acceptSelectedCodeAction",
"when": "codeActionMenuVisible" },
"when": "actionWidgetVisible" },
{ "key": "enter", "command": "acceptSelectedCodeAction",
"when": "codeActionMenuVisible" },
"when": "actionWidgetVisible" },
{ "key": "shift+escape", "command": "hideCodeActionWidget",
"when": "codeActionMenuVisible" },
"when": "actionWidgetVisible" },
{ "key": "escape", "command": "hideCodeActionWidget",
"when": "codeActionMenuVisible" },
"when": "actionWidgetVisible" },
{ "key": "ctrl+enter", "command": "previewSelectedCodeAction",
"when": "codeActionMenuVisible" },
"when": "actionWidgetVisible" },
{ "key": "ctrl+down", "command": "selectNextCodeAction",
"when": "codeActionMenuVisible" },
"when": "actionWidgetVisible" },
{ "key": "down", "command": "selectNextCodeAction",
"when": "codeActionMenuVisible" },
"when": "actionWidgetVisible" },
{ "key": "ctrl+up", "command": "selectPrevCodeAction",
"when": "codeActionMenuVisible" },
"when": "actionWidgetVisible" },
{ "key": "up", "command": "selectPrevCodeAction",
"when": "codeActionMenuVisible" }
"when": "actionWidgetVisible" }
]


Expand Down Expand Up @@ -1482,6 +1486,7 @@
// - editor.action.addCursorsToBottom
// - editor.action.addCursorsToTop
// - editor.action.addSelectionToPreviousFindMatch
// - editor.action.changeTabDisplaySize
// - editor.action.clipboardCopyWithSyntaxHighlightingAction
// - editor.action.detectIndentation
// - editor.action.duplicateSelection
Expand All @@ -1504,6 +1509,7 @@
// - editor.action.indentUsingTabs
// - editor.action.indentationToSpaces
// - editor.action.indentationToTabs
// - editor.action.inlineSuggest.acceptNextWord
// - editor.action.inlineSuggest.trigger
// - editor.action.insertSnippet
// - editor.action.inspectTMScopes
Expand Down Expand Up @@ -1539,6 +1545,7 @@
// - editor.action.toggleMinimap
// - editor.action.toggleRenderControlCharacter
// - editor.action.toggleRenderWhitespace
// - editor.action.toggleScreenReaderAccessibilityMode
// - editor.action.toggleStickyScroll
// - editor.action.transformToKebabcase
// - editor.action.transformToLowercase
Expand Down Expand Up @@ -1699,6 +1706,7 @@
// - git.fetchPrune
// - git.ignore
// - git.init
// - git.manageUnsafeRepositories
// - git.merge
// - git.mergeAbort
// - git.openAllChanges
Expand Down Expand Up @@ -1847,6 +1855,7 @@
// - mergeEditor.acceptMerge
// - mergeEditor.compareInput1WithBase
// - mergeEditor.compareInput2WithBase
// - mergeEditor.resetCloseWithConflictsChoice
// - mergeEditor.resetResultToBaseAndAutoMerge
// - noop
// - notebook.cancelExecution
Expand All @@ -1872,6 +1881,7 @@
// - notebook.cell.toggleOutputs
// - notebook.clearAllCellsOutputs
// - notebook.clearNotebookEdtitorTypeCache
// - notebook.clearNotebookKernelsMRUCache
// - notebook.diff.cell.revertInput
// - notebook.diff.cell.revertMetadata
// - notebook.diff.cell.revertOutputs
Expand Down Expand Up @@ -2064,6 +2074,8 @@
// - update.restartToUpdate
// - update.showCurrentReleaseNotes
// - update.updating
// - userDataProfiles
// - userDataProfiles.resetViewContainerLocation
// - variables.collapse
// - walkthroughs.selectStep
// - watch.collapse
Expand Down Expand Up @@ -2275,7 +2287,7 @@
// - workbench.action.output.show.extension-output-vscode.microsoft-authentication-#1-Microsoft Authentication
// - workbench.action.output.show.mainLog
// - workbench.action.output.show.ptyHostLog
// - workbench.action.output.show.remoteTunnelLog
// - workbench.action.output.show.remoteTunnelServiceLog
// - workbench.action.output.show.rendererLog
// - workbench.action.output.show.sharedLog
// - workbench.action.output.show.tasks
Expand Down Expand Up @@ -2536,9 +2548,9 @@
// - workbench.extensions.action.extensionUpdates
// - workbench.extensions.action.ignoreRecommendation
// - workbench.extensions.action.install.specificVersion
// - workbench.extensions.action.installExtensionFromLocation
// - workbench.extensions.action.installExtensions
// - workbench.extensions.action.installVSIX
// - workbench.extensions.action.installWebExtensionFromLocation
// - workbench.extensions.action.installWorkspaceRecommendedExtensions
// - workbench.extensions.action.listBuiltInExtensions
// - workbench.extensions.action.listWorkspaceUnsupportedExtensions
Expand Down Expand Up @@ -2607,7 +2619,6 @@
// - workbench.profiles.actions.cleanupProfiles
// - workbench.profiles.actions.createEmptyProfile
// - workbench.profiles.actions.createFromCurrentProfile
// - workbench.profiles.actions.createFromTemplate
// - workbench.profiles.actions.createProfile
// - workbench.profiles.actions.createTemporaryProfile
// - workbench.profiles.actions.deleteProfile
Expand All @@ -2620,6 +2631,14 @@
// - workbench.profiles.actions.resetWorkspaces
// - workbench.profiles.actions.switchProfile
// - workbench.profiles.actions.updateCurrentProfileShortName
// - workbench.remoteTunnel.actions.configure
// - workbench.remoteTunnel.actions.connecting
// - workbench.remoteTunnel.actions.copyToClipboard
// - workbench.remoteTunnel.actions.learnMore
// - workbench.remoteTunnel.actions.manage
// - workbench.remoteTunnel.actions.showLog
// - workbench.remoteTunnel.actions.turnOff
// - workbench.remoteTunnel.actions.turnOn
// - workbench.scm.action.collapseAllRepositories
// - workbench.scm.action.expandAllRepositories
// - workbench.scm.action.repositories.setSortKey.discoveryTime
Expand Down
Loading

0 comments on commit a3d361b

Please sign in to comment.