forked from ayrtonmassey/vscode-emacs-region
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
140 lines (140 loc) · 11 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "vimacs",
"displayName": "Vimacs",
"description": "Provides Emacs keybindings for VSCodeVim",
"version": "1.1.1",
"publisher": "migrs",
"engines": {
"vscode": "^1.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/migrs/vscode-vimacs"
},
"keywords": [
"vim",
"emacs",
"keymaps",
"keybindings"
],
"categories": [
"Extension Packs"
],
"icon": "images/icon.png",
"activationEvents": [
"*"
],
"main": "./out/src/extension",
"contributes": {
"keybindings": [
{ "key": "ctrl+f", "command": "extension.vim_ctrl+f", "when": "editorTextFocus && vim.active && vim.use<C-f> && !inDebugRepl && vim.mode != 'Insert'" },
{ "key": "ctrl+n", "command": "extension.vim_ctrl+n", "when": "editorTextFocus && vim.active && vim.use<C-n> && !inDebugRepl && vim.mode != 'Insert'" },
{ "key": "ctrl+w", "command": "extension.vim_ctrl+w", "when": "editorTextFocus && vim.active && vim.use<C-w> && !inDebugRepl && vim.mode != 'Insert'" },
{ "key": "ctrl+v", "command": "extension.vim_ctrl+v", "when": "editorTextFocus && vim.active && vim.use<C-v> && !inDebugRepl && vim.mode != 'Insert'" },
{ "key": "ctrl+w", "command": "emacs.action.clipboardCutAction", "when": "editorTextFocus && editorHasSelection && !editorReadonly && vim.mode == 'Insert'" },
{ "key": "ctrl+y", "command": "emacs.action.clipboardPasteAction", "when": "editorTextFocus && !editorReadonly && vim.mode == 'Insert'" },
{ "key": "ctrl+f", "command": "cursorRight", "when": "editorTextFocus && !inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+f", "command": "cursorRightSelect", "when": "editorTextFocus && inRegionMode && vim.mode == 'Insert'" },
{ "key": "right", "command": "cursorRight", "when": "editorTextFocus && !inRegionMode && vim.mode == 'Insert'" },
{ "key": "right", "command": "cursorRightSelect", "when": "editorTextFocus && inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+b", "command": "cursorLeft", "when": "editorTextFocus && !inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+b", "command": "cursorLeftSelect", "when": "editorTextFocus && inRegionMode && vim.mode == 'Insert'" },
{ "key": "left", "command": "cursorLeft", "when": "editorTextFocus && !inRegionMode && vim.mode == 'Insert'" },
{ "key": "left", "command": "cursorLeftSelect", "when": "editorTextFocus && inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+p", "command": "cursorUp", "when": "editorTextFocus && !suggestWidgetVisible && !inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+p", "command": "cursorUpSelect", "when": "editorTextFocus && inRegionMode && vim.mode == 'Insert'" },
{ "key": "up", "command": "cursorUp", "when": "editorTextFocus && !suggestWidgetVisible && !inRegionMode && vim.mode == 'Insert'" },
{ "key": "up", "command": "cursorUpSelect", "when": "editorTextFocus && inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+n", "command": "cursorDown", "when": "editorTextFocus && !suggestWidgetVisible && !inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+n", "command": "cursorDownSelect", "when": "editorTextFocus && inRegionMode && vim.mode == 'Insert'" },
{ "key": "down", "command": "cursorDown", "when": "editorTextFocus && !suggestWidgetVisible && !inRegionMode && vim.mode == 'Insert'" },
{ "key": "down", "command": "cursorDownSelect", "when": "editorTextFocus && inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+right", "command": "cursorWordEndRight", "when": "editorTextFocus && !inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+right", "command": "cursorWordEndRightSelect", "when": "editorTextFocus && inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+left", "command": "cursorWordStartLeft", "when": "editorTextFocus && !inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+left", "command": "cursorWordStartLeftSelect", "when": "editorTextFocus && inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+a", "command": "cursorHome", "when": "editorTextFocus && !inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+a", "command": "cursorHomeSelect", "when": "editorTextFocus && inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+e", "command": "cursorEnd", "when": "editorTextFocus && !inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+e", "command": "cursorEndSelect", "when": "editorTextFocus && inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+h", "command": "deleteLeft", "when": "editorTextFocus && vim.mode == 'Insert'" },
{ "key": "ctrl+d", "command": "deleteRight", "when": "editorTextFocus && !editorHasSelection && vim.mode == 'Insert'" },
{ "key": "ctrl+space", "command": "emacs.startRegionMode", "when": "editorFocus && vim.mode == 'Insert'" },
{ "key": "ctrl+k", "command": "emacs.cutAllRight", "when": "editorTextFocus && !inRegionMode && vim.mode == 'Insert'" },
{ "key": "ctrl+g", "command": "cancelSelection", "when": "editorFocus && editorHasSelection" },
{ "key": "ctrl+g", "command": "emacs.exitRegionMode", "when": "inRegionMode" },
{ "key": "ctrl+g", "command": "toggleVim", "when": "editorTextFocus && !inRegionMode && !vim.active" },
{ "key": "ctrl+g", "command": "extension.vim_escape", "when": "editorTextFocus && !inRegionMode && vim.active" },
{ "key": "ctrl+[", "command": "extension.vim_escape", "when": "editorTextFocus && !inRegionMode && vim.active" },
{ "key": "ctrl+p", "command": "showPrevParameterHint", "when": "editorTextFocus && parameterHintsVisible" },
{ "key": "ctrl+n", "command": "showNextParameterHint", "when": "editorTextFocus && parameterHintsVisible" },
{ "key": "ctrl+p", "command": "selectPrevQuickFix", "when": "editorFocus && quickFixWidgetVisible" },
{ "key": "ctrl+n", "command": "selectNextQuickFix", "when": "editorFocus && quickFixWidgetVisible" },
{ "key": "ctrl+p", "command": "selectPrevSuggestion", "when": "editorTextFocus && suggestWidgetVisible" },
{ "key": "ctrl+n", "command": "selectNextSuggestion", "when": "editorTextFocus && suggestWidgetVisible" },
{ "key": "ctrl+p", "command": "workbench.action.quickOpenNavigatePrevious", "when": "inQuickOpen" },
{ "key": "ctrl+n", "command": "workbench.action.quickOpenNavigateNext", "when": "inQuickOpen" },
{ "key": "ctrl+p", "command": "workbench.action.quickOpenNavigatePrevious", "when": "!editorFocus && !inQuickOpen" },
{ "key": "ctrl+n", "command": "workbench.action.quickOpenNavigateNext", "when": "!editorFocus && !inQuickOpen" },
{ "key": "ctrl+g", "command": "closeFindWidget", "when": "editorFocus && findWidgetVisible" },
{ "key": "ctrl+g", "command": "closeReferenceSearchEditor", "when": "inReferenceSearchEditor && !config.editor.stablePeek" },
{ "key": "ctrl+g", "command": "closeReferenceSearch", "when": "referenceSearchVisible && !config.editor.stablePeek" },
{ "key": "ctrl+g", "command": "removeSecondaryCursors", "when": "editorHasMultipleSelections && editorTextFocus" },
{ "key": "ctrl+g", "command": "closeBreakpointWidget", "when": "breakpointWidgetVisible && editorFocus" },
{ "key": "ctrl+g", "command": "leaveSnippet", "when": "editorTextFocus && inSnippetMode" },
{ "key": "ctrl+g", "command": "closeMarkersNavigation", "when": "editorFocus && markersNavigationVisible" },
{ "key": "ctrl+g", "command": "closeParameterHints", "when": "editorTextFocus && parameterHintsVisible" },
{ "key": "ctrl+g", "command": "hideSuggestWidget", "when": "editorFocus && suggestWidgetVisible" },
{ "key": "ctrl+g", "command": "cancelRenameInput", "when": "editorFocus && renameInputVisible" },
{ "key": "ctrl+g", "command": "closeAccessibilityHelp", "when": "accessibilityHelpWidgetVisible && editorFocus" },
{ "key": "ctrl+g", "command": "closeReplaceInFilesWidget", "when": "replaceInputBoxFocus && searchViewletVisible" },
{ "key": "ctrl+g", "command": "workbench.action.closeMessages", "when": "globalMessageVisible" },
{ "key": "ctrl+g", "command": "workbench.action.closeQuickOpen", "when": "inQuickOpen" },
{ "key": "ctrl+n", "command": "", "when": "editorTextFocus && vim.active && vim.mode != 'Insert'" },
{ "key": "ctrl+h", "command": "", "when": "editorTextFocus && vim.active && vim.mode != 'Insert'" },
{ "key": "ctrl+f", "command": "", "when": "!editorFocus" },
{ "key": "ctrl+b", "command": "", "when": "!editorFocus" },
{ "key": "ctrl+a", "command": "", "when": "!editorFocus" },
{ "key": "ctrl+e", "command": "", "when": "!editorFocus" },
{ "key": "ctrl+h", "command": "", "when": "!editorFocus" },
{ "key": "ctrl+d", "command": "", "when": "!editorFocus" },
{ "key": "ctrl+k", "command": "", "when": "!editorFocus" },
{ "key": "ctrl+u", "command": "", "when": "!editorFocus" },
{ "key": "ctrl+w", "command": "", "when": "!editorFocus" },
{ "key": "ctrl+f", "command": "", "when": "editorFocus && findWidgetVisible" },
{ "key": "ctrl+b", "command": "", "when": "editorFocus && findWidgetVisible" },
{ "key": "ctrl+n", "command": "", "when": "editorFocus && findWidgetVisible" },
{ "key": "ctrl+a", "command": "", "when": "editorFocus && findWidgetVisible" },
{ "key": "ctrl+e", "command": "", "when": "editorFocus && findWidgetVisible" },
{ "key": "ctrl+h", "command": "", "when": "editorFocus && findWidgetVisible" },
{ "key": "ctrl+d", "command": "", "when": "editorFocus && findWidgetVisible" },
{ "key": "ctrl+k", "command": "", "when": "editorFocus && findWidgetVisible" },
{ "key": "ctrl+w", "command": "", "when": "editorFocus && findWidgetVisible" },
{ "key": "ctrl+f", "command": "cursorRight", "when": "editorTextFocus && vim.active && vim.mode == 'Replace'" },
{ "key": "ctrl+b", "command": "cursorLeft", "when": "editorTextFocus && vim.active && vim.mode == 'Replace'" },
{ "key": "ctrl+p", "command": "cursorUp", "when": "editorTextFocus && vim.active && vim.mode == 'Replace'" },
{ "key": "ctrl+n", "command": "cursorDown", "when": "editorTextFocus && vim.active && vim.mode == 'Replace'" },
{ "key": "ctrl+a", "command": "cursorHome", "when": "editorTextFocus && vim.active && vim.mode == 'Replace'" },
{ "key": "ctrl+e", "command": "cursorEnd", "when": "editorTextFocus && vim.active && vim.mode == 'Replace'" },
{ "key": "alt+w", "command": "emacs.action.clipboardCopyAction" },
{ "key": "alt+f", "command": "cursorWordRight", "when": "editorTextFocus && !inRegionMode" },
{ "key": "alt+f", "command": "cursorWordRightSelect", "when": "editorTextFocus && inRegionMode" },
{ "key": "alt+b", "command": "cursorWordLeft", "when": "editorTextFocus && !inRegionMode" },
{ "key": "alt+b", "command": "cursorWordLeftSelect", "when": "editorTextFocus && inRegionMode" },
{ "key": "alt+d", "command": "deleteWordRight", "when": "editorTextFocus" },
{ "key": "alt+backspace", "command": "deleteWordLeft", "when": "editorTextFocus" },
{ "key": "alt+h", "command": "deleteWordLeft", "when": "editorTextFocus" }
] },
"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.7.5",
"vscode": "^0.11.0"
},
"extensionDependencies": [
"vscodevim.vim"
]
}