Better closing bind in zed.

This commit is contained in:
Bartek Stalewski 2024-10-20 23:28:24 +02:00
parent eea3574557
commit 3c6eab7ef9
Signed by: ftpd
SSH Key Fingerprint: SHA256:vGQiaNJcfUMLt3wF58+Zx15C6SpRDA9spUeggjVY8Yo

View File

@ -7,15 +7,9 @@
// from the command palette. // from the command palette.
[ [
{ {
"context": "Workspace", "context": "vim_mode == normal",
"bindings": { "bindings": {
"escape enter": ["pane::CloseActiveItem", { "saveIntent": "saveAll" }] "escape enter": ["pane::CloseActiveItem", { "saveIntent": "saveAll" }]
} }
},
{
"context": "Editor",
"bindings": {
// "j k": ["workspace::SendKeystrokes", "escape"]
}
} }
] ]