-
Notifications
You must be signed in to change notification settings - Fork 16
/
vscode.vim.settings.json
163 lines (163 loc) · 5.49 KB
/
vscode.vim.settings.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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
"nixEnvSelector.nixFile": "${workspaceRoot}/shell.nix",
"haskell.serverExecutablePath": "haskell-language-server",
// begin only for Windows
// https://github.com/microsoft/vscode/issues/100292#issuecomment-644793471
"terminal.integrated.commandsToSkipShell": [
"-workbench.action.quickOpen",
"-workbench.action.terminal.focusFind"
],
// https://stackoverflow.com/a/61877822/1364288
"terminal.integrated.allowChords": false,
// end only for Windows
"vim.handleKeys": {
"<C-h>": false,
"<C-t>": false,
"<C-b>": false,
"<C-j>": false,
"<C-k>": false,
"<C-p>": false
},
"vim.highlightedyank.enable": true,
"vim.sneak": true,
"vim.useSystemClipboard": true,
"vim.normalModeKeyBindings": [
{
"before": ["<C-q>"],
"commands": ["editor.action.showHover"]
},
{
"before": ["<Space>"],
"commands": ["editor.action.marker.nextInFiles"]
},
{
"before": ["<S-Backspace>"],
"commands": ["bookmarks.list"]
},
{
"before": ["<Backspace>"],
"commands": ["bookmarks.listFromAllFiles"]
},
{
"before": ["<Leader>","r"],
"commands": ["editor.action.goToReferences"],
"when" : ["editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"]
},
{
"before": ["<Leader>","R"],
"commands": ["references-view.findReferences"],
"when" : ["editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"]
},
{
"before": ["<Leader>","c"],
"commands": ["references-view.showCallHierarchy"]
},
{
"before": ["<Leader>","b"],
"commands": ["bookmarks.list"]
},
{
"before": ["<Leader>","B"],
"commands": ["bookmarks.listFromAllFiles"]
},
{
"before": ["<Leader>","a"],
"commands": ["workbench.action.showCommands"]
},
{
"before": ["<Leader>","s"],
"commands": ["workbench.action.gotoSymbol"]
},
{
"before": ["<Leader>","S"],
"commands": ["workbench.action.showAllSymbols"]
},
{
"before": ["<Leader>","d"],
"commands": ["editor.action.peekDefinition"],
"when": ["editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"]
},
{
"before": ["<Leader>","f"],
"commands": ["workbench.action.quickOpen"]
},
{
"before": ["<Leader>","F"],
"commands": ["workbench.action.findInFiles"]
},
{
"before": ["<Leader>","<Space>"],
"commands": ["workbench.action.quickOpen"],
"when": ["editorTextFocus"]
},
{
"before": ["<Leader>","<Leader>"],
"commands": ["workbench.action.showCommands"],
},
{
"before": ["<Leader>","w"],
"commands": ["editor.emmet.action.wrapWithAbbreviation"],
"when": ["editorTextFocus"]
},
{
"before": ["<Leader>","%"],
"commands": ["editor.emmet.action.matchTag"],
"when": ["editorTextFocus"]
},
{
"before": ["<Leader>","t"],
"commands": ["editor.action.peekTypeDefinition"]
},
{
"before": ["<Leader>","T"],
"commands": ["editor.action.goToTypeDefinition"]
},
{
"before": ["<Leader>","e"],
"commands": ["workbench.files.action.focusOpenEditorsView"]
},
{
"before": ["<Leader>","m"],
"commands": ["workbench.action.showAllEditorsByMostRecentlyUsed"]
},
{
"before": ["<Leader>","n"],
"commands": ["editor.action.rename"]
},
{
"before": ["<Leader>","v"],
"commands": ["workbench.action.openView"]
},
{
"before": ["<Leader>","o"],
"commands": ["outline.focus"]
},
// https://github.com/AnthonyAsDev/VSCodeVimSettings/tree/master
{
"before": ["<Leader>","g","b"],
"commands": ["gitlens.toggleFileBlame"]
},
{
"before": ["<Leader>","g","c"],
"commands": ["gitlens.showQuickCommitFileDetails"]
},
{
"before": ["<Leader>","g","h"],
"commands": ["gitlens.showQuickFileHistory"]
},
{
"before": ["<Leader>","g","s"],
"commands": ["gitlens.showQuickRepoStatus"]
},
{
"before": ["<Leader>","g",","],
"commands": ["gitlens.diffWithPrevious"]
}
],
"vim.leader": ",",
"editor.fontSize": 18,
"haskell.plugin.ghcide-completions.config.snippetsOn": false,
"explorer.fileNesting.expand": false,
"explorer.sortOrder": "mixed",
"pgFormatter.noGrouping" : true
}