vscode vim extension

Gast #6996493
Lesenswert?

Guten morgen,

ich habe mir vscode mit vim extension installiert.
Jetzt habe ich mir zum testen eine keymappings.json erstellt
1
[
2
  {
3
    "key": "ctrl+h", 
4
    "command": "workbench.action.focusLeftGroup", 
5
    "when": "editorTextFocus && vim.active && vim.mode != 'Insert'"
6
  },
7
  {
8
    "key": "ctrl+l", 
9
    "command": "workbench.action.focusRightGroup", 
10
    "when": "editorTextFocus && vim.active && vim.mode != 'Insert'"
11
  },
12
  {
13
    "key": "ctrl+k", 
14
    "command": "workbench.action.focusAboveGroup", 
15
    "when": "editorTextFocus && vim.active && vim.mode != 'Insert'"
16
  },
17
  {
18
    "key": "ctrl+j", 
19
    "command": "workbench.action.focusBelowGroup", 
20
    "when": "editorTextFocus && vim.active && vim.mode != 'Insert'"
21
  },
22
  {
23
     "before": ["j", "k"],
24
     "after": ["<esc>"],
25
   "when":"editorTextFocus && vim.active && vim.mode == 'Insert'"
26
  },
27
  {
28
     "before": ["k", "j"],
29
     "after": ["<esc>"],
30
   "when":"editorTextFocus && vim.active && vim.mode == 'Insert'"
31
  }
32
]

Diese Datei habe ich im Ordner .vscode welches in meinem Projekt liegt.
Allerdings wird diese nicht benutzt, oder geladen?
zumindest kann ich nicht die Tabs wechseln oder bei drücken von jk wird 
jk geschrieben und nicht der Insertmodus verlassen

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren