From 52cc55349532d409919079a5153ef6aad699004d Mon Sep 17 00:00:00 2001 From: Xian Wang Date: Fri, 10 Oct 2025 11:27:48 -0700 Subject: zed: settings Signed-off-by: Xian Wang --- config/zed/keymap.json | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 config/zed/keymap.json (limited to 'config/zed/keymap.json') diff --git a/config/zed/keymap.json b/config/zed/keymap.json new file mode 100644 index 0000000..f290941 --- /dev/null +++ b/config/zed/keymap.json @@ -0,0 +1,34 @@ +// Zed keymap +// +// For information on binding keys, see the Zed +// documentation: https://zed.dev/docs/key-bindings +// +// To see the default key bindings run `zed: open default keymap` +// from the command palette. +[ + { + "context": "Editor && edit_prediction", + "bindings": { + "alt-l": "editor::AcceptEditPrediction" + } + }, + // Bind `tab` back to its original behavior. + { + "context": "Editor", + "bindings": { + "tab": "editor::Tab" + } + }, + { + "context": "Editor && showing_completions", + "bindings": { + "tab": "editor::ComposeCompletion" + } + }, + { + "context": "Terminal", + "bindings": { + "ctrl-r": ["terminal::SendKeystroke", "ctrl-r"] + } + } +] -- cgit v1.2.3