This extension ports the most popular Sublime Text keyboard shortcuts to Visual Studio Code. After installing the extension and restarting VS Code your favorite keyboard shortcuts from Sublime Text are now available.
- Multi cursor editing changed from alt + click to ctrl (or cmd) + click.
- Enable format on paste.
- Change snippet suggestions to be at the top of the completion list.
All of these features make VS Code more "Sublime Text like." The changes to your User Settings file are as followed.
// Controls whether the prompt will show
"sublimeTextKeymap.promptV3Features": true,
// Changes the multi cursor mouse binding
"editor.multiCursorModifier": "ctrlCmd",
// Specifies the location of snippets in the suggestion widget
"editor.snippetSuggestions": "top",
// Controls whether format on paste is on or off
"editor.formatOnPaste": true
Tip: If you want to see the prompt again simply change
sublimeTextKeymap.promptV3Features
tofalse
and restart VS Code.
You can see all the keyboard shortcuts in the extension's contribution list.
VS Code has not implemented all features. Head on over to this GitHub issue and let the VS Code team know what you'd like to see.
You can install an extension for many of these features:
We may have missed a keyboard shortcut. If we did please help us out! It is very easy to make a PR.
- Head over to our GitHub repository.
- Open the
package.json
file. - Add a JSON object to
contributes.keybindings
as seen below. - Open a pull request.
{
"mac": "<keyboard shortcut for mac>",
"linux": "<keyboard shortcut for linux",
"win": "<keyboard shortcut for windows",
"key": "<default keyboard shortcut>",
"command": "<name of the command in VS Code"
}
You can read more about how to contribute keybindings in extensions in the official documentation.