From 3c6eab7ef9932f1b29737a2eef939a1592a988c6 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Sun, 20 Oct 2024 23:28:24 +0200 Subject: [PATCH] Better closing bind in zed. --- config/zed/keymap.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/config/zed/keymap.json b/config/zed/keymap.json index b824f8a..7030f58 100644 --- a/config/zed/keymap.json +++ b/config/zed/keymap.json @@ -7,15 +7,9 @@ // from the command palette. [ { - "context": "Workspace", + "context": "vim_mode == normal", "bindings": { "escape enter": ["pane::CloseActiveItem", { "saveIntent": "saveAll" }] } - }, - { - "context": "Editor", - "bindings": { - // "j k": ["workspace::SendKeystrokes", "escape"] - } } ]