Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
vim: Fix ctrl-n/p
Conrad Irwina7da16d192c6
diff --git a/assets/keymaps/vim.json b/assets/keymaps/vim.jsonindex c9ab74e2824..8bb5ac72fe6 100644--- a/assets/keymaps/vim.json+++ b/assets/keymaps/vim.json@@ -323,11 +323,16 @@"ctrl-t": "vim::Indent","ctrl-d": "vim::Outdent","ctrl-k": ["vim::PushOperator", { "Digraph": {} }],- "ctrl-p": "editor::ShowCompletions",- "ctrl-n": "editor::ShowCompletions","ctrl-r": ["vim::PushOperator", "Register"]}},+ {+ "context": "vim_mode == insert && !(showing_code_actions || showing_completions)",+ "bindings": {+ "ctrl-p": "editor::ShowCompletions",+ "ctrl-n": "editor::ShowCompletions"+ }+ },{"context": "vim_mode == replace","bindings": {