good commit, bad commit message

This commit is contained in:
Jason Fields 2023-10-21 22:57:24 -04:00
parent a36e8a0c23
commit 445fd3a403
3 changed files with 3 additions and 1 deletions

View File

@ -38,6 +38,7 @@ export async function activate(context: vscode.ExtensionContext) {
vimrc.vimrcPath &&
path.relative(document.fileName, vimrc.vimrcPath) === ''
) {
// TODO: Should instead probably call `loadConfiguration` (in extensionBase.ts)
await configuration.load();
Logger.info('Sourced new .vimrc');
}

View File

@ -812,7 +812,7 @@
},
"vim.handleKeys": {
"type": "object",
"description": "Delegate certain key combinations back to VSCode to be handled natively.",
"description": "Delegate certain key combinations back to VS Code to be handled natively.",
"default": {
"<C-d>": true,
"<C-s>": false,

View File

@ -452,6 +452,7 @@ export class ModeHandler implements vscode.Disposable, IModeHandler {
// <C-d> triggers "add selection to next find match" by default,
// unless users explicity make <C-d>: true
// TODO: Destroy this silliness
if (key === '<C-d>' && !(configuration.handleKeys['<C-d>'] === true)) {
key = '<D-d>';
}