Questions tagged [vscode-keybinding]
Use this tag for questions about keyboard shortcuts in VS Code
vscode-keybinding
137
questions
1
vote
2
answers
47
views
VS Code keybinding to search from the beginning of the file
How do I make a keybinding that works like Ctrl+F / Cmd+F, but it starts searching at the top of the file, rather than at the current cursor location? Is there a command for that?
0
votes
0
answers
12
views
VS Code keybindings, clause “when” acts strange
I want to make a shortcut that changes the terminal's position, from left to right and vice-versa. I managed to accomplish this with 2 different shortcuts, but I want to use only one shortcut.
{
&...
0
votes
0
answers
14
views
How to change VS Code extension keybindings programmatically?
I'm developing an extension on VS Code with a default keybindings declared in package.json file. I want to add a feature that allows user to override the keybindings on each project.
Currently, my ...
0
votes
1
answer
54
views
VS Code keybinding for starting debugging with a specific debug configuration?
I would like to create a keybind for debugging a specific pytest. I was wondering if it was possible to maybe modify .vscode/launch.json such that whenever I press F5 that it will debug a specific ...
0
votes
2
answers
43
views
How to exclude selecting headers in a file when ctrl a select all or ctrl home go to beginning of a file in vscode?
How to exclude selecting headers in a file when ctrl a select all or ctrl home go to beginning of a file in vscode?
eg:
Given a markdown file
<link href='G:/Using/mdCss/style.css' rel='stylesheet' /...
1
vote
0
answers
28
views
In VSCode is there a way to focus on first editor in first group in one command without altering "last recently used editor"?
I want to focus on first editor in first group using a keybinding, then using another keybinding I want to switch the focus back onto the editor I was working on before. This previous editor might be ...
0
votes
0
answers
84
views
Shortcut conflict in Codeium's Command with VSCodeVim in visual studio code
I just started using Codeium in VS Code. One of its features is clashing with VSCodeVim. When I enter in the command mode in Codeium (Cmd + I), I can't seem the get out by pressing the Escape key. No ...
0
votes
1
answer
17
views
Restrict keybinding for git.stageAll in VSC
I have these keybinds in my keybindings.json:
{
"key": "ctrl+shift+up",
"command": "git.stageAll",
},
{
"key": "ctrl+shift+down&...
0
votes
0
answers
44
views
Keybinding Service Not Logging Keys
I'm hoping to issue the keyboard command to split selection into multiple lines.
It's my understanding that the default keyboard shortcut is cmd + shift + l as per the keybindings view. However, when ...
0
votes
1
answer
49
views
VSCode - How to use Shift+Tab to select the previous item in the command palette?
I used the answer to the related question and other similar ones to set keybindings for navigating through the command palette as follows.
{
"key": "tab",
"command": &...
0
votes
1
answer
77
views
Visual Studio Key Bindings - Have the same Key Binding do different Tasks with each Subsequent Press [duplicate]
In VS Code, the shortcut "Ctrl + A" selects everything in the document. I'm used to a more progressive selection system like Microsoft OneNote where Ctrl + A behaves the following way:
...
-1
votes
2
answers
64
views
Can I use when clauses for individual command arguments in VS Code runCommands keybindings?
I'm trying to create a custom command in VS Code to hide/show the side bar and the activity bar at the same time, while also passing the focus to the activity bar if its shown or back to the text ...
1
vote
1
answer
40
views
Any placeholder rules or keybinding commands to select a pair of characters in vscode?
{
"key": "cmd+;",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus && !editorReadonly",
"args&...
1
vote
1
answer
124
views
Configure VS Code keybinding to open a new Powershell script?
I have the MS Powershell extension installed in VS Code. Other language extensions, e.g. Python, have the ability to assign a keybinding for creating a new file (python.createNewFile). I don't see ...
0
votes
1
answer
48
views
VSCode Keybinding for Notebook output scroll
I am trying to create keybindings to scroll VSCode Notebook output with HJKL keys once the notebook output has been focused. This is what I had tried unsuccessfully:
[
// Scroll Notebook cell ...