mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
42 lines
939 B
JSON
42 lines
939 B
JSON
{
|
|
"name": "vim",
|
|
"displayName": "vim",
|
|
"description": "vim sample extension",
|
|
"version": "0.0.1",
|
|
"publisher": "alexdima",
|
|
"engines": {
|
|
"vscode": "^1.0.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"main": "./out/src/extension",
|
|
"contributes": {
|
|
"keybindings": [{
|
|
"command": "vim.goToNormalMode",
|
|
"key": "escape",
|
|
"when": "editorTextFocus && !vim.inNormalMode"
|
|
},{
|
|
"command": "vim.clearInput",
|
|
"key": "escape",
|
|
"when": "editorTextFocus && vim.hasInput"
|
|
},{
|
|
"command": "redo",
|
|
"key": "ctrl+r",
|
|
"mac": "cmd+r",
|
|
"when": "editorTextFocus"
|
|
}]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",
|
|
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
|
|
"postinstall": "node ./node_modules/vscode/bin/install"
|
|
},
|
|
"devDependencies": {
|
|
"typescript": "^1.8.5",
|
|
"vscode": "^0.11.0"
|
|
}
|
|
} |