From 2140ab51deed88e90eafebf9520fa5f9995dc7c9 Mon Sep 17 00:00:00 2001 From: twells46 <173561638+twells46@users.noreply.github.com> Date: Wed, 31 Dec 2025 13:28:05 -0600 Subject: Migrate from stow --- dot_config/zed/keymap.json | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 dot_config/zed/keymap.json (limited to 'dot_config/zed/keymap.json') diff --git a/dot_config/zed/keymap.json b/dot_config/zed/keymap.json new file mode 100644 index 0000000..069aff5 --- /dev/null +++ b/dot_config/zed/keymap.json @@ -0,0 +1,38 @@ +// 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 && (showing_code_actions || showing_completions)", + "bindings": { + "ctrl-p": "editor::ContextMenuPrevious", + "up": "editor::ContextMenuPrevious", + "ctrl-n": "editor::ContextMenuNext", + "down": "editor::ContextMenuNext", + "pageup": "editor::ContextMenuFirst", + "pagedown": "editor::ContextMenuLast" + } + }, + { + "context": "Editor && showing_completions", + "bindings": { + "ctrl-y": "editor::ConfirmCompletion" + } + }, + { + "context": "Editor && edit_prediction", + "bindings": { + "ctrl-y": "editor::AcceptEditPrediction" + } + }, + { + "context": "Editor && showing_code_actions", + "bindings": { + "ctrl-y": "editor::ConfirmCodeAction" + } + } +] -- cgit v1.2.3