Files
vscode-extension-samples/vim-sample/package.json

78 lines
1.5 KiB
JSON
Raw Normal View History

2016-07-15 12:39:15 +02:00
{
"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": {
2016-12-30 11:03:46 +01:00
"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"
},
{
"command": "e",
"key": "ctrl+e",
"when": "editorTextFocus && vim.inNormalMode"
},
{
"command": "d",
"key": "ctrl+d",
"when": "editorTextFocus && vim.inNormalMode"
},
{
"command": "f",
"key": "ctrl+f",
"when": "editorTextFocus && vim.inNormalMode"
},
{
"command": "y",
"key": "ctrl+y",
"when": "editorTextFocus && vim.inNormalMode"
},
{
"command": "u",
"key": "ctrl+u",
"when": "editorTextFocus && vim.inNormalMode"
},
{
"command": "b",
"key": "ctrl+b",
"when": "editorTextFocus && vim.inNormalMode"
}
]
2016-07-15 12:39:15 +02:00
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
2016-12-30 18:35:00 +01:00
"postinstall": "node ./node_modules/vscode/bin/install"
2016-07-15 12:39:15 +02:00
},
"devDependencies": {
2016-12-30 11:17:41 +01:00
"typescript": "^2.1.4",
2016-12-30 11:03:46 +01:00
"vscode": "^1.0.0",
"@types/node": "*"
2016-07-15 12:39:15 +02:00
}
2016-12-30 11:03:46 +01:00
}