Files
vscode-extension-samples/vim-sample/package.json
Matt Bierner 5d3686b7dc Bump old vscode versions
This bumps the `@types/vscode` and `engines: vscode` on packages that were using very old versions. These old versions used a `vscode.d.ts` that didn't include proper link support. We've also made a number of fixes and improvements to `vscode.d.ts` that are useful to extension authors
2023-01-30 21:11:11 -08:00

88 lines
1.7 KiB
JSON

{
"name": "vim",
"displayName": "vim",
"description": "vim sample extension",
"version": "0.0.1",
"publisher": "vscode-samples",
"private": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-extension-samples"
},
"engines": {
"vscode": "^1.73.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"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"
},
{
"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"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint \"src/**/*.ts\"",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^16.11.7",
"@types/vscode": "^1.73.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"eslint": "^8.26.0",
"typescript": "^4.9.4"
}
}