File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 6767 {
6868 "key" : " Escape" ,
6969 "command" : " extension.vim_escape" ,
70- "when" : " editorTextFocus && vim.active && !inDebugRepl && !inlineSuggestionVisible && !inlineEditIsVisible && !testing.isPeekVisible && !testing.isInPeek && !suggestWidgetVisible && !dirtyDiffVisible && (vim.mode == 'Insert' || !notebookEditorFocused) "
70+ "when" : " editorTextFocus && vim.active && !inDebugRepl"
7171 },
7272 {
7373 "key" : " Escape" ,
Original file line number Diff line number Diff line change @@ -448,6 +448,7 @@ class CommandEsc extends BaseCommand {
448448 vscode . commands . executeCommand ( 'closeReferenceSearchEditor' ) ,
449449 vscode . commands . executeCommand ( 'closeMarkersNavigation' ) ,
450450 vscode . commands . executeCommand ( 'closeDirtyDiff' ) ,
451+ vscode . commands . executeCommand ( 'editor.action.inlineSuggest.hide' ) ,
451452 ] ) ;
452453 }
453454 } else {
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ export class CommandEscInsertMode extends BaseCommand {
3939
4040 public override async exec ( position : Position , vimState : VimState ) : Promise < void > {
4141 void vscode . commands . executeCommand ( 'closeParameterHints' ) ;
42+ void vscode . commands . executeCommand ( 'editor.action.inlineSuggest.hide' ) ;
4243
4344 vimState . cursors = vimState . cursors . map ( ( x ) => x . withNewStop ( x . stop . getLeft ( ) ) ) ;
4445 if ( vimState . returnToInsertAfterCommand && position . character !== 0 ) {
You can’t perform that action at this time.
0 commit comments