273 строки
6.8 KiB
JSON
273 строки
6.8 KiB
JSON
{
|
|
"name": "sublime-keybindings",
|
|
"displayName": "Sublime Keybindings",
|
|
"description": "Port of Sublime keybindings.",
|
|
"version": "1.0.2",
|
|
"publisher": "waderyan",
|
|
"engines": {
|
|
"vscode": "^0.10.6"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"icon": "keyboard.png",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/waderyan/vscode-sublime-keybindings.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/Microsoft/vscode-sublime-keybindings/issues"
|
|
},
|
|
"license": "license.txt",
|
|
"contributes": {
|
|
"keybindings": [
|
|
{
|
|
"key": "super+shift+n",
|
|
"command": "workbench.action.newWindow"
|
|
},
|
|
{
|
|
"key": "shift+cmd+w",
|
|
"command": "workbench.action.closeWindow"
|
|
},
|
|
{
|
|
"key": "cmd+o",
|
|
"command": "workbench.action.files.openFileFolder",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "cmd+n",
|
|
"command": "workbench.files.action.newUntitledFile"
|
|
},
|
|
{
|
|
"key": "cmd+s",
|
|
"command": "workbench.action.files.save"
|
|
},
|
|
{
|
|
"key": "shift+cmd+s",
|
|
"command": "workbench.action.files.saveAs"
|
|
},
|
|
{
|
|
"key": "shift+cmd+[",
|
|
"command": "workbench.files.action.openPreviousWorkingFile",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "shift+cmd+]",
|
|
"command": "workbench.files.action.openNextWorkingFile"
|
|
},
|
|
{
|
|
"key": "shift+alt+left",
|
|
"command": "workbench.files.action.openPreviousWorkingFile"
|
|
},
|
|
{
|
|
"key": "shift+alt+right",
|
|
"command": "workbench.files.action.openNextWorkingFile"
|
|
},
|
|
{
|
|
"key": "alt+cmd+s",
|
|
"command": "workbench.action.files.saveAll"
|
|
},
|
|
{
|
|
"key": "cmd+w",
|
|
"command": "workbench.action.files.closeFile"
|
|
},
|
|
{
|
|
"key": "cmd+k cmd+b",
|
|
"command": "workbench.action.toggleSidebarVisibility"
|
|
},
|
|
{
|
|
"key": "cmd+k cmd+b",
|
|
"command": "workbench.action.toggleSidebarVisibility"
|
|
},
|
|
{
|
|
"key": "ctrl+cmd+f",
|
|
"command": "workbench.action.toggleFullScreen"
|
|
},
|
|
{
|
|
"key": "cmd+u",
|
|
"command": "cursorUndo",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+alt+up",
|
|
"command": "scrollLineUp",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+alt+down",
|
|
"command": "scrollLineDown",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "escape",
|
|
"command": "hideSuggestWidget",
|
|
"when": "editorTextFocus && suggestWidgetVisible"
|
|
},
|
|
{
|
|
"key": "cmd+]",
|
|
"command": "editor.action.indentLines",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "cmd+[",
|
|
"command": "editor.action.outdentLines",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "shift+tab",
|
|
"command": "tab",
|
|
"when": "editorTextFocus && !editorTabMovesFocus"
|
|
},
|
|
{
|
|
"key": "ctrl+g",
|
|
"command": "workbench.action.gotoLine"
|
|
},
|
|
{
|
|
"key": "cmd+t",
|
|
"command": "workbench.action.quickOpen"
|
|
},
|
|
{
|
|
"key": "cmd+r",
|
|
"command": "workbench.action.gotoSymbol"
|
|
},
|
|
{
|
|
"key": "f12",
|
|
"command": "editor.action.goToDeclaration"
|
|
},
|
|
{
|
|
"key": "alt+cmd+down",
|
|
"command": "editor.action.goToDeclaration"
|
|
},
|
|
{
|
|
"key": "shift+cmd+-",
|
|
"command": "workbench.action.navigateBack"
|
|
},
|
|
{
|
|
"key": "ctrl+-",
|
|
"command": "workbench.action.navigateForward"
|
|
},
|
|
{
|
|
"key": "shift+cmd+g",
|
|
"command": "editor.action.previousMatchFindAction",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "cmd+g",
|
|
"command": "editor.action.nextMatchFindAction",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "f4",
|
|
"command": "editor.action.nextMatchFindAction",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "shift+f4",
|
|
"command": "editor.action.previousMatchFindAction",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "shift+cmd+up",
|
|
"command": "editor.action.moveLinesUpAction",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "shift+cmd+up",
|
|
"command": "editor.action.moveLinesDownAction",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "cmd+/",
|
|
"command": "editor.action.commentLine",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "alt+cmd+/",
|
|
"command": "editor.action.commentLine",
|
|
"when": "editorTextFocus"
|
|
},
|
|
{
|
|
"key": "cmd+k cmd+up",
|
|
"command": "workbench.action.splitEditor"
|
|
},
|
|
{
|
|
"key": "cmd+k cmd+down",
|
|
"command": "workbench.action.files.closeFile"
|
|
},
|
|
{
|
|
"key": "alt+cmd+[",
|
|
"command": "editor.fold",
|
|
"when": "editorFocus"
|
|
},
|
|
{
|
|
"key": "alt+cmd+]",
|
|
"command": "editor.unfold",
|
|
"when": "editorFocus"
|
|
},
|
|
{
|
|
"key": "cmd+k cmd+1",
|
|
"command": "editor.foldLevel1",
|
|
"when": "editorFocus"
|
|
},
|
|
{
|
|
"key": "cmd+k cmd+2",
|
|
"command": "editor.foldLevel2",
|
|
"when": "editorFocus"
|
|
},
|
|
{
|
|
"key": "cmd+k cmd+3",
|
|
"command": "editor.foldLevel3",
|
|
"when": "editorFocus"
|
|
},
|
|
{
|
|
"key": "cmd+k cmd+4",
|
|
"command": "editor.foldLevel4",
|
|
"when": "editorFocus"
|
|
},
|
|
{
|
|
"key": "cmd+k cmd+5",
|
|
"command": "editor.foldLevel5",
|
|
"when": "editorFocus"
|
|
},
|
|
{
|
|
"key": "cmd+k cmd+0",
|
|
"command": "editor.unfoldAll",
|
|
"when": "editorFocus"
|
|
},
|
|
{
|
|
"key": "cmd+k cmd+j",
|
|
"command": "editor.unfoldAll",
|
|
"when": "editorFocus"
|
|
},
|
|
{
|
|
"key": "alt+cmd+r",
|
|
"command": "toggleFindRegex",
|
|
"when": "editorFocus"
|
|
},{
|
|
"key": "cmd+alt+c",
|
|
"command": "toggleFindCaseSensitive",
|
|
"when": "editorFocus"
|
|
}, {
|
|
"key": "alt+f12",
|
|
"command": "editor.action.showContextMenu",
|
|
"when": "editorTextFocus"
|
|
}, {
|
|
"key": "cmd+alt+w",
|
|
"command": "toggleFindWholeWord",
|
|
"when": "editorFocus"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"compile": "babel convert.js",
|
|
"postinstall": "node ./node_modules/vscode/bin/install"
|
|
},
|
|
"devDependencies": {
|
|
"babel-preset-es2015": "^6.6.0",
|
|
"vscode": "^0.11.0"
|
|
},
|
|
"dependencies": {
|
|
"jsonfile": "^2.2.3"
|
|
}
|
|
}
|