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 <michael@zed.dev>
This commit is contained in:
VladKopylets
2025-06-05 13:16:59 -06:00
committed by GitHub
co-authored by Michael Sloan
parent 03a030fd00
commit ccc173ebb1
+2 -2
View File
@@ -13,9 +13,9 @@
}
},
{
"context": "Editor",
"context": "Editor && vim_mode == insert && !menu",
"bindings": {
// "j k": ["workspace::SendKeystrokes", "escape"]
// "j k": "vim::SwitchToNormalMode"
}
}
]