139 questions
0
votes
0
answers
37
views
How to make repeatable chords in VSCode
I have a key binding such as alt+s alt+u. It works when i hold down both keys alt and s, then just press u. But if I press u again, it doesn't repeat; i must release alt and s, then hold them down ...
1
vote
1
answer
83
views
Why does Alt+Z type the character ˀ instead of toggling word wrap in VS Code on macOS?
I'm using VS Code (actually Cursor, a VS Code fork) on macOS and noticed that pressing Alt+Z doesn't toggle word wrap as expected. Instead, it inserts a strange character: ˀ (U+02C0).
I checked my ...
2
votes
1
answer
89
views
Binding a terminal command to a keybind, how can I focus on the terminal?
I have a keybind that triggers a terminal command. The terminal command prompts for input, but in order to respond, I have to make an extra, unnecessary click to focus on the terminal. How can I avoid ...
1
vote
2
answers
508
views
How to toggle the visibility of the right sidebar in vscode?
I'm using Visual Studio Code and currently have the right sidebar (where extensions like Copilot and other AI extension) open. I want to toggle its visibility without using the mouse, ideally through ...
1
vote
0
answers
34
views
Close problem popup in vscode programmatically
I switched the keybind in Visual Studio Code to go to the next problem (previously fn+F8) to my unused key F19 like this (keybindings.json):
{
"key": "f19",
"when&...
0
votes
1
answer
633
views
Many VSCode shortcuts don't work under Ubuntu 24.04.1 LTS
A few days ago I installed a fresh Ubuntu 24.04.1 on my PC alongside with Windows 10. I also installed VSCode (via AppCenter, also tried via VSCode's official website) and noticed, that many shortcuts ...
1
vote
2
answers
93
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
2
answers
115
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' /...
0
votes
1
answer
27
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
1
answer
307
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
vote
1
answer
94
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&...
0
votes
1
answer
93
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 ...
4
votes
1
answer
581
views
Show a message if I use a mouse for something that I could do with a keyboard shortcut
In PyCharm there is a plugin (Keyboard Promoter) that pops up a little window on the bottom with something like "keyboard shortcut missed (1) time" if you, for example, use the mouse for ...
0
votes
1
answer
97
views
Is there a way to start VS Code keybinding with a comma?
Is there a way to make a key-binding in VS Code that starts with , or ; as it is in vim?
Currently I have it in settings.json like this:
"vim.leader": ",",
"vim....
0
votes
1
answer
91
views
Why aren't VS Code's default keybindings for scrolling an integrated terminal by line working?
I am using Visual Studio Code, which I like quite a lot except for one thing: It puts output in a middle window between the code and the command line and I can't get this to scroll. It's the area ...
1
vote
2
answers
251
views
How can I make a VS Code keybinding only apply when a specific View is visible/focused?
I'm coming from other IDEs in which when you globally search for some content across your project (in Visual studio code it's done by pressing CMD+SHIT+F) and then want to move between the founded ...
-1
votes
1
answer
702
views
How can I focus the activity bar using hotkeys in VS Code?
vscode screenshot. the section that i'm talking about is in here.
1
vote
1
answer
2k
views
How can I navigate and manipulate list views in VS Code using the keyboard?
I want to use the keyboard only to navigate inside and manipulate list views in VS Code, such as
the Explorer View's subviews, like Open Editors, Folders, Outline, and Timeline
the Source Control ...
2
votes
2
answers
3k
views
How do I use the VS Code keyboard shortcuts for changing a notebook cell to code or markdown?
It used to be that you could switch a cell between markdown and code in VS Code's version of Jupyter notebook. You can't now I looked at the keyboard shortcuts and it won't even accept the ESCAPE key ...
1
vote
2
answers
891
views
How can I execute a fixed command in VS Code's debug console with a keyboard shortcut?
I am using Native Debug with GDB under VS Code. I can type any GDB command in the debug console. How can I run a fixed command in the debug console (not the terminal) using a shortcut?
I was only able ...
0
votes
1
answer
94
views
How can I write a VS Code key binding to insert a new line when pressing space after a period?
I'm using VS Code to write LaTeX and doing version control using git. Therefore, I would like to have one sentence per line.
\section{Hello}
This is a sentence.
This is another sentence.
What I would ...
1
vote
2
answers
2k
views
How can I make easier-to-reach shortcuts for arrow keys in VS Code?
Alternate of arrow keys in VS Code? especially the right arrow key to move outside the double quotes without moving hand towards arrow keys.
I just want to know if there is already a shortcut ...
0
votes
2
answers
431
views
Why doesn't my workbench.action.togglePanel VS Code keyboard shortcut toggle back to the editor from the terminal?
Here is my problem:
I want to use the Ctrl J shortcut to switch between editing a file and writing in the terminal.
I have this keybinding:
{
"key": "ctrl+j",
"command&...
1
vote
0
answers
393
views
How can I focus the git commit message input in the Source Control View of VS Code with a single keyboard shortcut? [duplicate]
How do I invoke the commit input message box from the Source Control View (using one command/shortcut)? git.commitall invokes a floating commit message window.
The reason I want the one in the Source ...
-1
votes
1
answer
164
views
Keyboard shortcut for making VS Code Explorer or other Views fullscreen?
We can toggle the VS Code Explorer's visibility with ctrl/cmd+b. Is there a way to toggle it so it becomes full screen using a keyboard shortcut?