mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-09-11 12:25:59 +03:00
fixes #1507 and removes workspace settings that should not be there
This commit is contained in:
parent
d0e7ffc27d
commit
a6f360f8da
13
.vscode/settings.json
vendored
13
.vscode/settings.json
vendored
@ -8,16 +8,5 @@
|
||||
},
|
||||
"typescript.tsdk": "./node_modules/typescript/lib", // we want to use the TS server from our node_modules folder to control its version
|
||||
"editor.tabSize": 2,
|
||||
"editor.insertSpaces": true,
|
||||
"vim.useCtrlKeys": true,
|
||||
"vim.hlsearch": false,
|
||||
"vim.insertModeKeyBindings": [
|
||||
{
|
||||
"before": ["j", "j"],
|
||||
"after": ["<esc>"]
|
||||
}
|
||||
],
|
||||
|
||||
"vim.otherModesKeyBindingsNonRecursive": [ ]
|
||||
|
||||
"editor.insertSpaces": true
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
import { Configuration } from './configuration/configuration';
|
||||
import * as _ from "lodash";
|
||||
|
||||
export class AngleBracketNotation {
|
||||
|
||||
@ -33,6 +34,10 @@ export class AngleBracketNotation {
|
||||
return Configuration.leader;
|
||||
}
|
||||
|
||||
if (_.includes(["<up>", "<down>", "<left>", "<right>"], key.toLocaleLowerCase())) {
|
||||
key = key.toLocaleLowerCase();
|
||||
}
|
||||
|
||||
for (const notationMapKey in this._notationMap) {
|
||||
if (this._notationMap.hasOwnProperty(notationMapKey)) {
|
||||
const regex = new RegExp(this._notationMap[notationMapKey].join('|'), 'gi');
|
||||
|
Loading…
Reference in New Issue
Block a user