mirror of
https://github.com/jasonwilliams/vscode-helix.git
synced 2024-10-06 21:27:59 +03:00
b2d9eb874b
- Move from `onStartupFinished` to `*` for faster startup. Sadly OSF is just too slow, the user interacts before the extension has started which is frustrating. - Use nextEditor and PreviousEditor for gn/gp - Update readme
177 lines
4.9 KiB
JSON
177 lines
4.9 KiB
JSON
{
|
|
"name": "vscode-helix-emulation",
|
|
"version": "0.0.2",
|
|
"displayName": "Helix For VS Code",
|
|
"description": "Helix emulation for Visual Studio Code",
|
|
"publisher": "jasew",
|
|
"author": "Jason Williams",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/jasonwilliams/vscode-helix",
|
|
"keywords": [
|
|
"vim",
|
|
"vi",
|
|
"helix"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/jasonwilliams/vscode-helix"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/jasonwilliams/vscode-helix/issues"
|
|
},
|
|
"categories": [
|
|
"Other",
|
|
"Keymaps"
|
|
],
|
|
"main": "./dist/index.js",
|
|
"icon": "docs/img/helixLogo.png",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"engines": {
|
|
"vscode": "^1.83.1"
|
|
},
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "extension.helixKeymap.enterDisabledMode",
|
|
"title": "Disable Helix"
|
|
},
|
|
{
|
|
"command": "extension.helixKeymap.enableHelix",
|
|
"title": "Enable Helix"
|
|
}
|
|
],
|
|
"keybindings": [
|
|
{
|
|
"key": "shift+5",
|
|
"command": "editor.action.jumpToBracket",
|
|
"when": "editorTextFocus && extension.helixKeymap.normalMode"
|
|
},
|
|
{
|
|
"key": "shift+j",
|
|
"command": "editor.action.joinLines",
|
|
"when": "editorTextFocus && extension.helixKeymap.normalMode"
|
|
},
|
|
{
|
|
"key": "Escape",
|
|
"command": "extension.helixKeymap.escapeKey",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+f",
|
|
"command": "extension.helixKeymap.scrollDownPage",
|
|
"when": "editorTextFocus && extension.helixKeymap.normalMode"
|
|
},
|
|
{
|
|
"key": "ctrl+b",
|
|
"command": "extension.helixKeymap.scrollUpPage",
|
|
"when": "editorTextFocus && extension.helixKeymap.normalMode"
|
|
},
|
|
{
|
|
"key": "ctrl+w",
|
|
"command": "extension.helixKeymap.enterWindowMode",
|
|
"when": "editorTextFocus && extension.helixKeymap.normalMode"
|
|
},
|
|
{
|
|
"key": "/",
|
|
"command": "extension.helixKeymap.enterSearchMode",
|
|
"when": "editorTextFocus && extension.helixKeymap.normalMode"
|
|
},
|
|
{
|
|
"key": "backspace",
|
|
"command": "extension.helixKeymap.backspaceSearchMode",
|
|
"when": "editorTextFocus && extension.helixKeymap.searchMode"
|
|
},
|
|
{
|
|
"key": "enter",
|
|
"command": "extension.helixKeymap.exitSearchMode",
|
|
"when": "editorTextFocus && extension.helixKeymap.searchMode"
|
|
},
|
|
{
|
|
"key": "up",
|
|
"command": "extension.helixKeymap.previousSearchResult",
|
|
"when": "editorTextFocus && extension.helixKeymap.searchMode"
|
|
},
|
|
{
|
|
"key": "down",
|
|
"command": "extension.helixKeymap.nextSearchResult",
|
|
"when": "editorTextFocus && extension.helixKeymap.searchMode"
|
|
},
|
|
{
|
|
"key": "alt+o",
|
|
"command": "editor.action.smartSelect.expand",
|
|
"when": "editorTextFocus && extension.helixKeymap.normalMode"
|
|
},
|
|
{
|
|
"key": "alt+i",
|
|
"command": "editor.action.smartSelect.shrink",
|
|
"when": "editorTextFocus && extension.helixKeymap.normalMode"
|
|
},
|
|
{
|
|
"key": "ctrl+i",
|
|
"command": "workbench.action.navigateForward",
|
|
"when": "extension.helixKeymap.normalMode"
|
|
},
|
|
{
|
|
"key": "ctrl+o",
|
|
"command": "workbench.action.navigateBack",
|
|
"when": "extension.helixKeymap.normalMode"
|
|
},
|
|
{
|
|
"key": "ctrl+o",
|
|
"command": "-workbench.action.files.openFile",
|
|
"when": "true"
|
|
},
|
|
{
|
|
"key": "ctrl+i",
|
|
"command": "-editor.action.triggerSuggest",
|
|
"when": "true"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "Helix Keymap Configuration",
|
|
"properties": {
|
|
"helixKeymap.yankHighlightBackgroundColor": {
|
|
"type": "string",
|
|
"default": "#F8F3AB",
|
|
"description": "Background color that flashes to show the range when yanking."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "node build.mjs",
|
|
"build:prod": "node build.mjs --production",
|
|
"watch": "node build.mjs --watch",
|
|
"pack": "vsce package --no-dependencies",
|
|
"publish": "vsce publish --no-dependencies",
|
|
"vscode:prepublish": "npm run build:prod",
|
|
"lint": "prettier --check --plugin-search-dir=. src && eslint src",
|
|
"format": "prettier --write --plugin-search-dir=. src",
|
|
"typecheck": "tsc --noEmit",
|
|
"release": "bumpp && npm run publish"
|
|
},
|
|
"devDependencies": {
|
|
"@types/http-errors": "^1.8.0",
|
|
"@types/node": "^20.8.9",
|
|
"@types/vscode": "^1.83.1",
|
|
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
|
"@typescript-eslint/parser": "^6.10.0",
|
|
"bumpp": "^8.2.1",
|
|
"eslint": "^8.27.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"esno": "^0.16.3",
|
|
"prettier": "^3.0.3",
|
|
"rimraf": "^3.0.2",
|
|
"string.prototype.matchall": "^4.0.2",
|
|
"typescript": "^5.2.2",
|
|
"esbuild": "^0.19.5",
|
|
"vsce": "^2.11.0"
|
|
}
|
|
}
|