Skip to content

Commit

Permalink
Merge pull request #101 from tshino/update-default-keybinding-2022-05…
Browse files Browse the repository at this point in the history
…-06-17-06

Update wrappers based on vscode 1.67.0
  • Loading branch information
tshino authored May 6, 2022
2 parents f0ac0e2 + 61e9dca commit 05df019
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 24 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ All notable changes to the Keyboard Macro Bata extension will be documented in t
- Update
- Update default keybindings wrappers based on vscode 1.66.1. [#93](https://github.com/tshino/vscode-kb-macro/pull/93)
- Update default keybindings wrappers based on vscode 1.66.2. [#95](https://github.com/tshino/vscode-kb-macro/pull/95)
- Update default keybindings wrappers based on vscode 1.67.0. [#101](https://github.com/tshino/vscode-kb-macro/pull/101)
- Updated keymap wrapper for Vz Keymap (v0.19.0). [#96](https://github.com/tshino/vscode-kb-macro/pull/96)
- Updated keymap wrapper for Vz Keymap (v0.19.1). [#100](https://github.com/tshino/vscode-kb-macro/pull/100)
- Updated Keymap wrapper for Awesome Emacs Keymap (v0.43.1). [#97](https://github.com/tshino/vscode-kb-macro/pull/97)
Expand Down
21 changes: 18 additions & 3 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.66.2 for Linux
// Default Keybindings of Visual Studio Code 1.67.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 @@ -591,6 +591,8 @@
"when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorTabMovesFocus" },
{ "key": "shift+f9", "command": "editor.debug.action.toggleInlineBreakpoint",
"when": "editorTextFocus" },
{ "key": "shift+alt+d", "command": "editor.detectLanguage",
"when": "editorTextFocus && !notebookEditable" },
{ "key": "shift+enter", "command": "editor.refocusCallHierarchy",
"when": "callHierarchyVisible" },
{ "key": "shift+enter", "command": "editor.refocusTypeHierarchy",
Expand Down Expand Up @@ -699,6 +701,8 @@
"when": "notebookEditorFocused && !inputFocus" },
{ "key": "delete", "command": "notebook.cell.delete",
"when": "notebookEditable && notebookEditorFocused && !inputFocus" },
{ "key": "shift+alt+d", "command": "notebook.cell.detectLanguage",
"when": "notebookCellEditable && notebookEditable" },
{ "key": "enter", "command": "notebook.cell.edit",
"when": "notebookCellListFocused && notebookEditable && !inputFocus" },
{ "key": "ctrl+k ctrl+c", "command": "notebook.cell.expandCellInput",
Expand Down Expand Up @@ -1145,7 +1149,6 @@
"when": "!isIOS" },
{ "key": "ctrl+j", "command": "workbench.action.togglePanel" },
{ "key": "ctrl+b", "command": "workbench.action.toggleSidebarVisibility" },
{ "key": "ctrl+meta+w", "command": "workbench.action.toggleTabsVisibility" },
{ "key": "ctrl+k z", "command": "workbench.action.toggleZenMode" },
{ "key": "ctrl+k shift+enter", "command": "workbench.action.unpinEditor",
"when": "activeEditorIsPinned" },
Expand Down Expand Up @@ -1412,6 +1415,8 @@
// - editor.action.duplicateSelection
// - editor.action.findReferences
// - editor.action.fixAll
// - editor.action.focusNextCursor
// - editor.action.focusPreviousCursor
// - editor.action.fontZoomIn
// - editor.action.fontZoomOut
// - editor.action.fontZoomReset
Expand Down Expand Up @@ -1507,6 +1512,7 @@
// - editor.gotoNextFold
// - editor.gotoParentFold
// - editor.gotoPreviousFold
// - editor.inlayHints.Reset
// - editor.showTypeHierarchy
// - emmet.expandAbbreviation
// - explorer.download
Expand Down Expand Up @@ -1702,6 +1708,7 @@
// - list.selectAndPreserveFocus
// - list.toggleFilterOnType
// - list.toggleKeyboardNavigation
// - markdown.findAllFileReferences
// - markdown.preview.refresh
// - markdown.preview.toggleLock
// - markdown.showLockedPreviewToSide
Expand Down Expand Up @@ -1856,7 +1863,6 @@
// - setContext
// - setRootFolder
// - setSelection
// - settings.filterByModified
// - settings.filterByOnline
// - settings.filterByTelemetry
// - settings.filterUntrusted
Expand Down Expand Up @@ -1884,6 +1890,7 @@
// - testing.sortByDuration
// - testing.sortByLocation
// - testing.sortByStatus
// - testing.unhideAllTests
// - testing.unhideTest
// - testing.viewAsList
// - testing.viewAsTree
Expand All @@ -1896,6 +1903,7 @@
// - toggleEscapeSequenceLogging
// - typescript.findAllFileReferences
// - typescript.goToProjectConfig
// - typescript.goToSourceDefinition
// - typescript.openTsServerLog
// - typescript.reloadProjects
// - typescript.restartTsServer
Expand Down Expand Up @@ -1950,6 +1958,7 @@
// - workbench.action.createTerminalEditorSide
// - workbench.action.customizeLayout
// - workbench.action.debug.configure
// - workbench.action.debug.disconnectAndSuspend
// - workbench.action.debug.focusProcess
// - workbench.action.debug.restartFrame
// - workbench.action.debug.reverseContinue
Expand Down Expand Up @@ -2255,6 +2264,7 @@
// - workbench.action.toggleSplitEditorInGroup
// - workbench.action.toggleSplitEditorInGroupLayout
// - workbench.action.toggleStatusbarVisibility
// - workbench.action.toggleTabsVisibility
// - workbench.action.triggerReconnect
// - workbench.action.unlockEditorGroup
// - workbench.action.url.openUrl
Expand Down Expand Up @@ -2415,8 +2425,13 @@
// - workbench.panel.repl.view.removeView
// - workbench.panel.repl.view.resetViewLocation
// - workbench.panel.repl.view.toggleVisibility
// - workbench.profiles.actions.exportProfile
// - workbench.profiles.actions.importProfile
// - workbench.scm.action.collapseAllRepositories
// - workbench.scm.action.expandAllRepositories
// - workbench.scm.action.repositories.setSortKey.discoveryTime
// - workbench.scm.action.repositories.setSortKey.name
// - workbench.scm.action.repositories.setSortKey.path
// - workbench.scm.action.setListViewMode
// - workbench.scm.action.setSortKey.name
// - workbench.scm.action.setSortKey.path
Expand Down
21 changes: 18 additions & 3 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.66.2 for macOS
// Default Keybindings of Visual Studio Code 1.67.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 @@ -668,6 +668,8 @@
"when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorTabMovesFocus" },
{ "key": "shift+f9", "command": "editor.debug.action.toggleInlineBreakpoint",
"when": "editorTextFocus" },
{ "key": "shift+alt+d", "command": "editor.detectLanguage",
"when": "editorTextFocus && !notebookEditable" },
{ "key": "shift+enter", "command": "editor.refocusCallHierarchy",
"when": "callHierarchyVisible" },
{ "key": "shift+enter", "command": "editor.refocusTypeHierarchy",
Expand Down Expand Up @@ -786,6 +788,8 @@
"when": "notebookEditorFocused && !inputFocus" },
{ "key": "cmd+backspace", "command": "notebook.cell.delete",
"when": "notebookEditable && notebookEditorFocused && !inputFocus" },
{ "key": "shift+alt+d", "command": "notebook.cell.detectLanguage",
"when": "notebookCellEditable && notebookEditable" },
{ "key": "enter", "command": "notebook.cell.edit",
"when": "notebookCellListFocused && notebookEditable && !inputFocus" },
{ "key": "cmd+k cmd+c", "command": "notebook.cell.expandCellInput",
Expand Down Expand Up @@ -1266,7 +1270,6 @@
"when": "!isIOS" },
{ "key": "cmd+j", "command": "workbench.action.togglePanel" },
{ "key": "cmd+b", "command": "workbench.action.toggleSidebarVisibility" },
{ "key": "ctrl+cmd+w", "command": "workbench.action.toggleTabsVisibility" },
{ "key": "cmd+k z", "command": "workbench.action.toggleZenMode" },
{ "key": "cmd+k shift+enter", "command": "workbench.action.unpinEditor",
"when": "activeEditorIsPinned" },
Expand Down Expand Up @@ -1531,6 +1534,8 @@
// - editor.action.duplicateSelection
// - editor.action.findReferences
// - editor.action.fixAll
// - editor.action.focusNextCursor
// - editor.action.focusPreviousCursor
// - editor.action.fontZoomIn
// - editor.action.fontZoomOut
// - editor.action.fontZoomReset
Expand Down Expand Up @@ -1623,6 +1628,7 @@
// - editor.gotoNextFold
// - editor.gotoParentFold
// - editor.gotoPreviousFold
// - editor.inlayHints.Reset
// - editor.showTypeHierarchy
// - emmet.expandAbbreviation
// - explorer.download
Expand Down Expand Up @@ -1817,6 +1823,7 @@
// - list.selectAndPreserveFocus
// - list.toggleFilterOnType
// - list.toggleKeyboardNavigation
// - markdown.findAllFileReferences
// - markdown.preview.refresh
// - markdown.preview.toggleLock
// - markdown.showLockedPreviewToSide
Expand Down Expand Up @@ -1970,7 +1977,6 @@
// - setContext
// - setRootFolder
// - setSelection
// - settings.filterByModified
// - settings.filterByOnline
// - settings.filterByTelemetry
// - settings.filterUntrusted
Expand Down Expand Up @@ -1998,6 +2004,7 @@
// - testing.sortByDuration
// - testing.sortByLocation
// - testing.sortByStatus
// - testing.unhideAllTests
// - testing.unhideTest
// - testing.viewAsList
// - testing.viewAsTree
Expand All @@ -2010,6 +2017,7 @@
// - toggleEscapeSequenceLogging
// - typescript.findAllFileReferences
// - typescript.goToProjectConfig
// - typescript.goToSourceDefinition
// - typescript.openTsServerLog
// - typescript.reloadProjects
// - typescript.restartTsServer
Expand Down Expand Up @@ -2063,6 +2071,7 @@
// - workbench.action.createTerminalEditorSide
// - workbench.action.customizeLayout
// - workbench.action.debug.configure
// - workbench.action.debug.disconnectAndSuspend
// - workbench.action.debug.focusProcess
// - workbench.action.debug.restartFrame
// - workbench.action.debug.reverseContinue
Expand Down Expand Up @@ -2364,6 +2373,7 @@
// - workbench.action.toggleSplitEditorInGroup
// - workbench.action.toggleSplitEditorInGroupLayout
// - workbench.action.toggleStatusbarVisibility
// - workbench.action.toggleTabsVisibility
// - workbench.action.toggleWindowTabsBar
// - workbench.action.triggerReconnect
// - workbench.action.uninstallCommandLine
Expand Down Expand Up @@ -2526,8 +2536,13 @@
// - workbench.panel.repl.view.removeView
// - workbench.panel.repl.view.resetViewLocation
// - workbench.panel.repl.view.toggleVisibility
// - workbench.profiles.actions.exportProfile
// - workbench.profiles.actions.importProfile
// - workbench.scm.action.collapseAllRepositories
// - workbench.scm.action.expandAllRepositories
// - workbench.scm.action.repositories.setSortKey.discoveryTime
// - workbench.scm.action.repositories.setSortKey.name
// - workbench.scm.action.repositories.setSortKey.path
// - workbench.scm.action.setListViewMode
// - workbench.scm.action.setSortKey.name
// - workbench.scm.action.setSortKey.path
Expand Down
19 changes: 17 additions & 2 deletions generator/default-keybindings-win.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Default Keybindings of Visual Studio Code 1.66.2 for Windows
// Default Keybindings of Visual Studio Code 1.67.0 for Windows
// Override key bindings by placing them into your key bindings file.
[
{ "key": "escape escape", "command": "workbench.action.exitZenMode",
Expand Down Expand Up @@ -594,6 +594,8 @@
"when": "inlineSuggestionHasIndentationLessThanTabSize && inlineSuggestionVisible && !editorTabMovesFocus" },
{ "key": "shift+f9", "command": "editor.debug.action.toggleInlineBreakpoint",
"when": "editorTextFocus" },
{ "key": "shift+alt+d", "command": "editor.detectLanguage",
"when": "editorTextFocus && !notebookEditable" },
{ "key": "shift+enter", "command": "editor.refocusCallHierarchy",
"when": "callHierarchyVisible" },
{ "key": "shift+enter", "command": "editor.refocusTypeHierarchy",
Expand Down Expand Up @@ -702,6 +704,8 @@
"when": "notebookEditorFocused && !inputFocus" },
{ "key": "delete", "command": "notebook.cell.delete",
"when": "notebookEditable && notebookEditorFocused && !inputFocus" },
{ "key": "shift+alt+d", "command": "notebook.cell.detectLanguage",
"when": "notebookCellEditable && notebookEditable" },
{ "key": "enter", "command": "notebook.cell.edit",
"when": "notebookCellListFocused && notebookEditable && !inputFocus" },
{ "key": "ctrl+k ctrl+c", "command": "notebook.cell.expandCellInput",
Expand Down Expand Up @@ -1429,6 +1433,8 @@
// - editor.action.duplicateSelection
// - editor.action.findReferences
// - editor.action.fixAll
// - editor.action.focusNextCursor
// - editor.action.focusPreviousCursor
// - editor.action.fontZoomIn
// - editor.action.fontZoomOut
// - editor.action.fontZoomReset
Expand Down Expand Up @@ -1523,6 +1529,7 @@
// - editor.gotoNextFold
// - editor.gotoParentFold
// - editor.gotoPreviousFold
// - editor.inlayHints.Reset
// - editor.showTypeHierarchy
// - emmet.expandAbbreviation
// - explorer.download
Expand Down Expand Up @@ -1718,6 +1725,7 @@
// - list.selectAndPreserveFocus
// - list.toggleFilterOnType
// - list.toggleKeyboardNavigation
// - markdown.findAllFileReferences
// - markdown.preview.refresh
// - markdown.preview.toggleLock
// - markdown.showLockedPreviewToSide
Expand Down Expand Up @@ -1873,7 +1881,6 @@
// - setContext
// - setRootFolder
// - setSelection
// - settings.filterByModified
// - settings.filterByOnline
// - settings.filterByTelemetry
// - settings.filterUntrusted
Expand Down Expand Up @@ -1901,6 +1908,7 @@
// - testing.sortByDuration
// - testing.sortByLocation
// - testing.sortByStatus
// - testing.unhideAllTests
// - testing.unhideTest
// - testing.viewAsList
// - testing.viewAsTree
Expand All @@ -1913,6 +1921,7 @@
// - toggleEscapeSequenceLogging
// - typescript.findAllFileReferences
// - typescript.goToProjectConfig
// - typescript.goToSourceDefinition
// - typescript.openTsServerLog
// - typescript.reloadProjects
// - typescript.restartTsServer
Expand Down Expand Up @@ -1967,6 +1976,7 @@
// - workbench.action.createTerminalEditorSide
// - workbench.action.customizeLayout
// - workbench.action.debug.configure
// - workbench.action.debug.disconnectAndSuspend
// - workbench.action.debug.focusProcess
// - workbench.action.debug.restartFrame
// - workbench.action.debug.reverseContinue
Expand Down Expand Up @@ -2433,8 +2443,13 @@
// - workbench.panel.repl.view.removeView
// - workbench.panel.repl.view.resetViewLocation
// - workbench.panel.repl.view.toggleVisibility
// - workbench.profiles.actions.exportProfile
// - workbench.profiles.actions.importProfile
// - workbench.scm.action.collapseAllRepositories
// - workbench.scm.action.expandAllRepositories
// - workbench.scm.action.repositories.setSortKey.discoveryTime
// - workbench.scm.action.repositories.setSortKey.name
// - workbench.scm.action.repositories.setSortKey.path
// - workbench.scm.action.setListViewMode
// - workbench.scm.action.setSortKey.name
// - workbench.scm.action.setSortKey.path
Expand Down
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4725,6 +4725,22 @@
},
"when": "kb-macro.recording && inSettingsEditor"
},
{
"key": "shift+alt+d",
"command": "kb-macro.wrap",
"args": {
"command": "editor.detectLanguage"
},
"when": "kb-macro.recording && editorTextFocus && !notebookEditable"
},
{
"key": "shift+alt+d",
"command": "kb-macro.wrap",
"args": {
"command": "notebook.cell.detectLanguage"
},
"when": "kb-macro.recording && notebookCellEditable && notebookEditable"
},
{
"key": "shift+alt+h",
"command": "kb-macro.wrap",
Expand Down Expand Up @@ -7280,14 +7296,6 @@
},
"when": "kb-macro.recording && isLinux && workbench.panel.output.active"
},
{
"key": "ctrl+meta+w",
"command": "kb-macro.wrap",
"args": {
"command": "workbench.action.toggleTabsVisibility"
},
"when": "kb-macro.recording"
},
{
"key": "shift+alt+cmd+down",
"command": "kb-macro.wrap",
Expand Down Expand Up @@ -7696,14 +7704,6 @@
},
"when": "kb-macro.recording && terminalFocus && terminalHasBeenCreated && !terminalAltBufferActive || kb-macro.recording && terminalFocus && terminalProcessSupported && !terminalAltBufferActive"
},
{
"key": "ctrl+cmd+w",
"command": "kb-macro.wrap",
"args": {
"command": "workbench.action.toggleTabsVisibility"
},
"when": "kb-macro.recording"
},
{
"key": "cmd+-",
"command": "kb-macro.wrap",
Expand Down

0 comments on commit 05df019

Please sign in to comment.