Sublime Text Keymap extension for VS Code
Перейти к файлу
chrisdias 64ee7af3e0 update lodash, do some cleanup 2020-07-20 09:49:07 -07:00
.github Change default assignment to chrisdias 2019-06-23 12:53:01 -07:00
.readme update readme 2018-04-23 11:00:24 +02:00
.vscode converted to typescript 2018-04-15 19:05:51 +02:00
settings fixes #89 2018-04-27 11:08:56 +02:00
src prep for release, fix tests 2020-04-23 20:51:10 -07:00
.gitignore exclude test folder 2019-12-06 18:52:29 -08:00
.vscodeignore init 2016-03-03 16:00:06 +01:00
CHANGELOG.md prep for publish 2020-04-23 20:52:48 -07:00
LICENSE.md update lodash, do some cleanup 2020-07-20 09:49:07 -07:00
README.md Update README.md 2020-04-20 09:33:43 -07:00
package-lock.json update lodash, do some cleanup 2020-07-20 09:49:07 -07:00
package.json update lodash, do some cleanup 2020-07-20 09:49:07 -07:00
sublime_keyboard_with_padding.png Updated icon for 3.0 2017-07-12 10:17:57 -07:00
tsconfig.json replaced HTML UI with multipicker 2018-04-05 13:52:37 +02:00
tslint.json default settings are stored in json file 2018-04-21 19:23:31 +02:00

README.md

Sublime Importer for VS Code

This extension imports keybindings and settings from Sublime Text to VS Code.

Getting Started

Keymappings

This extension ports the most popular Sublime Text keyboard shortcuts to Visual Studio Code.
Just restart VS Code after the installation of this extension and your favorite Sublime Text keyboard shortcuts will be available in VS Code.

Importing settings

The first time the extension is launched a prompt is shown that lets you import your Sublime Settings.
If you want to import your settings at a later time use the Sublime Text Keymap: Import Sublime Text Settings command from the Command Palette (F1).

FAQ

What keyboard shortcuts are included?

The included keyboard shortcuts can be looked up in the 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:

Contributing

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"
}

How do I contribute a Sublime setting?

There are two different types of settings files: The mappings file holds the information on how a sublime setting can be mapped to a VS Code setting. The defaults file contains default Sublime settings that are not explicitly set in the Sublime settings file (e.g. the Monokai theme).
To make a Pull Request:

  1. Head over to our GitHub repository.
  2. Open the settings/mappings.json or the settings/defaults.json file.
  3. Add your setting
  4. Open a pull request.

License

MIT