From ccc173ebb1d7ea11133e724a2ecc81c204998934 Mon Sep 17 00:00:00 2001 From: VladKopylets <57573532+deand0n@users.noreply.github.com> Date: Thu, 5 Jun 2025 22:16:59 +0300 Subject: [PATCH] Fix "j" key latency in vim mode with "j k" keymap (#31163) Problem: Initial keymap has "j k" keymap, which if uncommented will add +-1s delay to every "j" key press This workaround was taken from https://github.com/zed-industries/zed/discussions/6661 Release Notes: - N/A *or* Added/Fixed/Improved ... --------- Co-authored-by: Michael Sloan --- assets/keymaps/initial.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/keymaps/initial.json b/assets/keymaps/initial.json index 78f5c8de62..0cfd28f0e5 100644 --- a/assets/keymaps/initial.json +++ b/assets/keymaps/initial.json @@ -13,9 +13,9 @@ } }, { - "context": "Editor", + "context": "Editor && vim_mode == insert && !menu", "bindings": { - // "j k": ["workspace::SendKeystrokes", "escape"] + // "j k": "vim::SwitchToNormalMode" } } ]