// 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" } } ]