lulu27753 / vscode-sublime-keybindings

Sublime Text Keymap extension for VS Code

Home Page:https://marketplace.visualstudio.com/items?itemName=ms-vscode.sublime-keybindings

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sublime Text Keymap for VS Code

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.

Changes Introduced in Version 3.0

  • 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 to false and restart VS Code.

What keyboard shortcuts are included?

You can see all the keyboard shortcuts in the extension's contribution list.

extension contributions

Why don't all Sublime Text commands work?

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:

How do I contribute a keyboard shortcut?

We may have missed a keyboard shortcut. If we did please help us out! It is very easy to make a PR.

  1. Head over to our GitHub repository.
  2. Open the package.json file.
  3. Add a JSON object to contributes.keybindings as seen below.
  4. 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.

License

MIT

About

Sublime Text Keymap extension for VS Code

https://marketplace.visualstudio.com/items?itemName=ms-vscode.sublime-keybindings

License:MIT License


Languages

Language:JavaScript 100.0%