Linked Questions
10 questions linked to/from Visual Studio Code keybindings - Running two or more commands with one shortcut
35
votes
2
answers
8k
views
Multiple actions on one keyboard shortcut in vscode [duplicate]
Is it possible to have multiple actions assigned to one keyboard shortcut in visual studio code?
For example:
Move cursor up x 3 set to "ctrl + w"
Thanks in advance.
0
votes
1
answer
303
views
Executing multiple commands at a single key stroke in VS Code [duplicate]
One example of an operation consisting of multiple commands would be the following. I want to copy a line, making a duplicate of it, then, I need to return the the upper line and comment it out. The ...
0
votes
1
answer
52
views
How can I add a sequence of commands on the same key binding? [duplicate]
I have this key binding that terminates a running process, what I need is to run another command or a task followed by this one:
{
"key": "ctrl+b",
"command": &...
11
votes
5
answers
7k
views
VSCode: How to perform "Clear Search Results" in "Find in Files" without using the mouse?
After I search through files in the project directory with Command-Shift-f, the files that are opened are have the search string highlighted. The only way to unhighlight them seems to be to clear the ...
10
votes
1
answer
5k
views
How can I run multiple commands with a single VS Code keybinding without an extension?
Is it possible to run multiple commands from a single keybinding/shortcut, just like a macro operates, in VS Code but without an extension?
I know there are some extensions that can do this but is ...
0
votes
1
answer
1k
views
What is the command to open a file in specified ViewColumn in VS Codium?
How can I open a specific file in a specified split view with an built-in command in VS codium? Is that possible without writing an extension?
I have a project, and I periodically I want to open a ...
1
vote
1
answer
309
views
Prevent asynchronous order of command sequence execution in VS Codium
How can I control the execution order of multiCommand extension? It behaves like it executes them in parallel, while I want them to be executed one after another.
I have a project with the following ...
0
votes
1
answer
77
views
Launching VSCode as an external text input source
I want to achieve the following: when inserting text inside a certain app, after pressing a shortcut, bring up a VSCode window with LaTeX as the language (and open a default file), edit text there, ...
0
votes
1
answer
67
views
VS Code - how to create keyboard shortcut which does both - toggle sidebar and put focus to sidebar
I want a behavior that whenever I press "Ctrl+B" it has to toggle the sidebar. If the sidebar becomes visible, then the focus should be on the sidebar. If the sidebar becomes hidden, then ...
0
votes
0
answers
13
views
Removed the key bindinds for Ctrl+UpArrow from my keybindings. But the Ctrl+Up keystroke combination still moves my lines up
I want to remove the keybinding of Ctrl+UpArrow to copy the line one line above which is really annoying. I have tried a bunch of suggestions from StackOverflow but the key bindings dont seem to ...