Is there any way to focus to this input by keyboard rather than mouse click in VisualStudioCode?
All keyboard shortcuts in VS Code can be customized via the keybindings. json file. To configure keyboard shortcuts through the JSON file, open Keyboard Shortcuts editor and select the Open Keyboard Shortcuts (JSON) button on the right of the editor title bar. This will open your keybindings.
Ctrl+D selects the word at the cursor, or the next occurrence of the current selection. Tip: You can also add more cursors with Ctrl+Shift+L, which will add a selection at each occurrence of the current selected text.
Well certainly not ideal, I've found that ctrl shift G then ESC , Tab will focus the Source Control Message input.
Now when you repeat ctrl shift G it seems to focus the input directly.
As a workaround, we can use the extension multi
.
Define shortcut like:
{
"key": "escape",
"command": "extension.multiCommand.execute",
"args": {
"sequence": [
"list.focusFirst",
"list.select",
]
},
"when": "listFocus && workbench.scm.active",
},
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With