248 lines
6.1 KiB
JSON
248 lines
6.1 KiB
JSON
|
{
|
||
|
"name": "vim",
|
||
|
"displayName": "Vim",
|
||
|
"description": "Vim emulation for Visual Studio Code",
|
||
|
"icon": "images/icon.png",
|
||
|
"version": "0.1.10",
|
||
|
"publisher": "vscodevim",
|
||
|
"galleryBanner": {
|
||
|
"color": "#a5c9a2",
|
||
|
"theme": "light"
|
||
|
},
|
||
|
"license": "MIT",
|
||
|
"keywords": [
|
||
|
"vim",
|
||
|
"vi",
|
||
|
"vscodevim",
|
||
|
"vsc-vim"
|
||
|
],
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "https://github.com/VSCodeVim/Vim.git"
|
||
|
},
|
||
|
"homepage": "https://github.com/VSCodeVim/Vim",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/VSCodeVim/Vim/issues"
|
||
|
},
|
||
|
"engines": {
|
||
|
"vscode": "^1.0.0"
|
||
|
},
|
||
|
"categories": [
|
||
|
"Other"
|
||
|
],
|
||
|
"activationEvents": [
|
||
|
"*"
|
||
|
],
|
||
|
"main": "./out/extension",
|
||
|
"contributes": {
|
||
|
"commands": [
|
||
|
{
|
||
|
"command": "extension.showCmdLine",
|
||
|
"title": "Vim: Show Command Line"
|
||
|
}
|
||
|
],
|
||
|
"keybindings": [
|
||
|
{
|
||
|
"key": "Escape",
|
||
|
"command": "extension.vim_escape",
|
||
|
"when": "editorTextFocus"
|
||
|
},
|
||
|
{
|
||
|
"key": "Backspace",
|
||
|
"command": "extension.vim_backspace",
|
||
|
"when": "editorTextFocus"
|
||
|
},
|
||
|
{
|
||
|
"key": "Delete",
|
||
|
"command": "extension.vim_delete",
|
||
|
"when": "editorTextFocus && vim.mode == 'Normal Mode'"
|
||
|
},
|
||
|
{
|
||
|
"key": "tab",
|
||
|
"command": "extension.vim_tab",
|
||
|
"when": "editorFocus && vim.mode == 'Normal Mode'"
|
||
|
},
|
||
|
{
|
||
|
"key": "ctrl+r",
|
||
|
"command": "extension.vim_ctrl+r",
|
||
|
"when": "editorTextFocus"
|
||
|
},
|
||
|
{
|
||
|
"key": "ctrl+f",
|
||
|
"command": "extension.vim_ctrl+f",
|
||
|
"when": "editorTextFocus && vim.useCtrlKeys"
|
||
|
},
|
||
|
{
|
||
|
"key": "ctrl+b",
|
||
|
"command": "extension.vim_ctrl+b",
|
||
|
"when": "editorTextFocus && vim.mode != 'Insert Mode'"
|
||
|
},
|
||
|
{
|
||
|
"key": "ctrl+e",
|
||
|
"command": "extension.vim_ctrl+e",
|
||
|
"when": "editorTextFocus && vim.useCtrlKeys"
|
||
|
},
|
||
|
{
|
||
|
"key": "ctrl+y",
|
||
|
"command": "extension.vim_ctrl+y",
|
||
|
"when": "editorTextFocus && vim.useCtrlKeys"
|
||
|
},
|
||
|
{
|
||
|
"key": "ctrl+u",
|
||
|
"command": "extension.vim_ctrl+u",
|
||
|
"when": "editorTextFocus"
|
||
|
},
|
||
|
{
|
||
|
"key": "ctrl+v",
|
||
|
"command": "extension.vim_ctrl+v",
|
||
|
"when": "editorTextFocus && vim.mode != 'Insert Mode' && vim.useCtrlKeys"
|
||
|
},
|
||
|
{
|
||
|
"key": "ctrl+d",
|
||
|
"command": "extension.vim_ctrl+d",
|
||
|
"when": "editorTextFocus"
|
||
|
},
|
||
|
{
|
||
|
"key": "ctrl+[",
|
||
|
"command": "extension.vim_ctrl+[",
|
||
|
"when": "editorTextFocus && vim.useCtrlKeys"
|
||
|
},
|
||
|
{
|
||
|
"key": "ctrl+w",
|
||
|
"command": "extension.vim_ctrl+w",
|
||
|
"when": "editorTextFocus"
|
||
|
},
|
||
|
{
|
||
|
"key": "ctrl+c",
|
||
|
"command": "extension.vim_ctrl+c",
|
||
|
"when": "editorTextFocus && vim.useCtrlKeys"
|
||
|
},
|
||
|
{
|
||
|
"key": "ctrl+a",
|
||
|
"command": "extension.vim_ctrl+a",
|
||
|
"when": "editorTextFocus && vim.useCtrlKeys"
|
||
|
},
|
||
|
{
|
||
|
"key": "ctrl+x",
|
||
|
"command": "extension.vim_ctrl+x",
|
||
|
"when": "editorTextFocus && vim.useCtrlKeys"
|
||
|
},
|
||
|
{
|
||
|
"key": "left",
|
||
|
"command": "extension.vim_left",
|
||
|
"when": "editorTextFocus && vim.mode != 'Insert Mode'"
|
||
|
},
|
||
|
{
|
||
|
"key": "right",
|
||
|
"command": "extension.vim_right",
|
||
|
"when": "editorTextFocus && vim.mode != 'Insert Mode'"
|
||
|
},
|
||
|
{
|
||
|
"key": "up",
|
||
|
"command": "extension.vim_up",
|
||
|
"when": "editorTextFocus && vim.mode != 'Insert Mode'"
|
||
|
},
|
||
|
{
|
||
|
"key": "down",
|
||
|
"command": "extension.vim_down",
|
||
|
"when": "editorTextFocus && vim.mode != 'Insert Mode'"
|
||
|
}
|
||
|
],
|
||
|
"configuration": {
|
||
|
"title": "Vim Configuration",
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"vim.otherModesKeyBindings": {
|
||
|
"type": "array",
|
||
|
"description": "Keybinding overrides to use for normal mode."
|
||
|
},
|
||
|
"vim.otherModesKeyBindingsNonRecursive": {
|
||
|
"type": "array",
|
||
|
"description": "Non-recursive keybinding overrides to use for normal mode."
|
||
|
},
|
||
|
"vim.useCtrlKeys": {
|
||
|
"type": "boolean",
|
||
|
"description": "Enable some vim ctrl key commands that override otherwise common operations, like ctrl+c"
|
||
|
},
|
||
|
"vim.useSystemClipboard": {
|
||
|
"type": "boolean",
|
||
|
"description": "Use system clipboard for unnamed register.",
|
||
|
"default": false
|
||
|
},
|
||
|
"vim.insertModeKeyBindings": {
|
||
|
"type": "array",
|
||
|
"description": "Keybinding overrides to use for insert mode."
|
||
|
},
|
||
|
"vim.insertModeKeyBindingsNonRecursive": {
|
||
|
"type": "array",
|
||
|
"description": "Non-recursive keybinding overrides to use for insert mode."
|
||
|
},
|
||
|
"vim.useSolidBlockCursor": {
|
||
|
"type": "boolean",
|
||
|
"description": "Use a non blinking block cursor.",
|
||
|
"default": false
|
||
|
},
|
||
|
"vim.scroll": {
|
||
|
"type": "number",
|
||
|
"description": "Number of lines to scroll with CTRL-U and CTRL-D commands.",
|
||
|
"default": 20
|
||
|
},
|
||
|
"vim.iskeyword": {
|
||
|
"type": "string",
|
||
|
"description": "keywords contain alphanumeric characters and '_'",
|
||
|
"default": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-"
|
||
|
},
|
||
|
"vim.ignorecase": {
|
||
|
"type": "boolean",
|
||
|
"description": "Ignore case in search patterns.",
|
||
|
"default": true
|
||
|
},
|
||
|
"vim.smartcase": {
|
||
|
"type": "boolean",
|
||
|
"description": "Override the 'ignorecase' option if the search pattern contains upper case characters.",
|
||
|
"default": true
|
||
|
},
|
||
|
"vim.hlsearch": {
|
||
|
"type": "boolean",
|
||
|
"description": "When there is a previous search pattern, highlight all its matches.",
|
||
|
"default": false
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"scripts": {
|
||
|
"vscode:prepublish": "node ./node_modules/vscode/bin/compile -p ./",
|
||
|
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
|
||
|
"test": "node ./node_modules/vscode/bin/test",
|
||
|
"postinstall": "node ./node_modules/vscode/bin/install && gulp init"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"copy-paste": "^1.3.0",
|
||
|
"diff-match-patch": "^1.0.0",
|
||
|
"lodash": "^4.12.0"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"gulp": "^3.9.1",
|
||
|
"gulp-bump": "^2.1.0",
|
||
|
"gulp-filter": "^4.0.0",
|
||
|
"gulp-git": "^1.7.1",
|
||
|
"gulp-inject-string": "^1.1.0",
|
||
|
"gulp-shell": "^0.5.2",
|
||
|
"gulp-soften": "^0.0.1",
|
||
|
"gulp-tag-version": "^1.3.0",
|
||
|
"gulp-trimlines": "^1.0.0",
|
||
|
"gulp-tslint": "^5.0.0",
|
||
|
"gulp-typescript": "^2.13.4",
|
||
|
"gulp-typings": "^2.0.0",
|
||
|
"merge-stream": "^1.0.0",
|
||
|
"tslint": "^3.10.2",
|
||
|
"typescript": "2.0.0",
|
||
|
"typings": "^1.0.4",
|
||
|
"vscode": "^0.11.16"
|
||
|
},
|
||
|
"__metadata": {
|
||
|
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
|
||
|
"publisherId": "5d63889b-1b67-4b1f-8350-4f1dce041a26",
|
||
|
"publisherDisplayName": "vscodevim"
|
||
|
}
|
||
|
}
|