From 99d27494eac1a755a930387dacf52569484f0234 Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Tue, 22 Jan 2019 12:24:40 +0100 Subject: [PATCH] Fix issue with escaping suggest widget Ref: https://github.com/VSCodeVim/Vim/issues/2403#issuecomment-456365357 --- .../Application Support/Code/User/keybindings.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/settings/Library/Application Support/Code/User/keybindings.json b/settings/Library/Application Support/Code/User/keybindings.json index ed97920..1c0eeb3 100644 --- a/settings/Library/Application Support/Code/User/keybindings.json +++ b/settings/Library/Application Support/Code/User/keybindings.json @@ -156,14 +156,14 @@ "command": "-editor.action.insertCursorBelow", "when": "editorTextFocus" }, - { - "key": "down", - "command": "cursorDown", - "when": "textInputFocus" - }, { "key": "up", "command": "cursorUp", - "when": "textInputFocus" + "when": "editorTextFocus && vim.active && !inDebugRepl && vim.mode == 'Insert' && !suggestWidgetMultipleSuggestions && !suggestWidgetVisible" + }, + { + "key": "down", + "command": "cursorDown", + "when": "editorTextFocus && vim.active && !inDebugRepl && vim.mode == 'Insert' && !suggestWidgetMultipleSuggestions && !suggestWidgetVisible" } ]