Files
vscode-extension-samples/vim-sample/package.json
Sandeep Somavarapu 0b31fec3d8 Support scroll commands
2016-08-04 18:08:09 +02:00

66 lines
1.5 KiB
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"
},{
"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": "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"
}
}