[ // Standard Linux bindings { "bindings": { "home": "menu::SelectFirst", "shift-pageup": "menu::SelectFirst", "pageup": "menu::SelectFirst", "end": "menu::SelectLast", "shift-pagedown": "menu::SelectLast", "pagedown": "menu::SelectLast", "ctrl-n": "menu::SelectNext", "tab": "menu::SelectNext", "down": "menu::SelectNext", "ctrl-p": "menu::SelectPrevious", "shift-tab": "menu::SelectPrevious", "up": "menu::SelectPrevious", "enter": "menu::Confirm", "ctrl-enter": "menu::SecondaryConfirm", "ctrl-escape": "menu::Cancel", "ctrl-c": "menu::Cancel", "escape": "menu::Cancel", "alt-shift-enter": "menu::Restart", "alt-enter": ["picker::ConfirmInput", { "secondary": false }], "ctrl-alt-enter": ["picker::ConfirmInput", { "secondary": true }], "ctrl-shift-w": "workspace::CloseWindow", "shift-escape": "workspace::ToggleZoom", "open": "workspace::Open", "ctrl-o": "workspace::OpenFiles", "ctrl-k ctrl-o": "workspace::Open", "ctrl-=": ["zed::IncreaseBufferFontSize", { "persist": false }], "ctrl-+": ["zed::IncreaseBufferFontSize", { "persist": false }], "ctrl--": ["zed::DecreaseBufferFontSize", { "persist": false }], "ctrl-0": ["zed::ResetBufferFontSize", { "persist": false }], "ctrl-alt-,": "zed::OpenSettingsFile", "ctrl-q": "zed::Quit", "f4": "debugger::Start", "f11": "zed::ToggleFullScreen", "ctrl-alt-z": "edit_prediction::RatePredictions", "ctrl-alt-shift-i": "edit_prediction::ToggleMenu", "ctrl-alt-l": "lsp_tool::ToggleMenu", "ctrl-alt-shift-s": "workspace::ToggleWorktreeSecurity", }, }, { "context": "Picker || menu", "bindings": { "up": "menu::SelectPrevious", "down": "menu::SelectNext", }, }, { "context": "menu", "bindings": { "right": "menu::SelectChild", "left": "menu::SelectParent", }, }, { "context": "Editor", "bindings": { "escape": "editor::Cancel", "shift-backspace": "editor::Backspace", "backspace": "editor::Backspace", "delete": "editor::Delete", "tab": "editor::Tab", "shift-tab": "editor::Backtab", "ctrl-k ctrl-q": "editor::Rewrap", "ctrl-k q": "editor::Rewrap", "ctrl-backspace": ["editor::DeleteToPreviousWordStart", { "ignore_newlines": false, "ignore_brackets": false }], "ctrl-delete": ["editor::DeleteToNextWordEnd", { "ignore_newlines": false, "ignore_brackets": false }], "cut": "editor::Cut", "shift-delete": "editor::Cut", "ctrl-x": "editor::Cut", "copy": "editor::Copy", "ctrl-insert": "editor::Copy", "ctrl-c": "editor::Copy", "paste": "editor::Paste", "shift-insert": "editor::Paste", "ctrl-v": "editor::Paste", "undo": "editor::Undo", "ctrl-z": "editor::Undo", "redo": "editor::Redo", "ctrl-y": "editor::Redo", "ctrl-shift-z": "editor::Redo", "up": "editor::MoveUp", "ctrl-up": "editor::LineUp", "ctrl-down": "editor::LineDown", "pageup": "editor::MovePageUp", "alt-pageup": "editor::PageUp", "shift-pageup": "editor::SelectPageUp", "home": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }], "down": "editor::MoveDown", "pagedown": "editor::MovePageDown", "alt-pagedown": "editor::PageDown", "shift-pagedown": "editor::SelectPageDown", "end": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": true }], "left": "editor::MoveLeft", "right": "editor::MoveRight", "ctrl-left": "editor::MoveToPreviousWordStart", "ctrl-right": "editor::MoveToNextWordEnd", "ctrl-home": "editor::MoveToBeginning", "ctrl-end": "editor::MoveToEnd", "shift-up": "editor::SelectUp", "shift-down": "editor::SelectDown", "shift-left": "editor::SelectLeft", "shift-right": "editor::SelectRight", "ctrl-shift-left": "editor::SelectToPreviousWordStart", "ctrl-shift-right": "editor::SelectToNextWordEnd", "ctrl-shift-home": "editor::SelectToBeginning", "ctrl-shift-end": "editor::SelectToEnd", "ctrl-a": "editor::SelectAll", "ctrl-l": "editor::SelectLine", "ctrl-shift-i": "editor::Format", "alt-shift-o": "editor::OrganizeImports", "shift-home": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }], "shift-end": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }], "ctrl-alt-space": "editor::ShowCharacterPalette", "ctrl-;": "editor::ToggleLineNumbers", "ctrl-'": "editor::ToggleSelectedDiffHunks", "ctrl-\"": "editor::ExpandAllDiffHunks", "ctrl-i": "editor::ShowSignatureHelp", "alt-g b": "git::Blame", "alt-g m": "git::OpenModifiedFiles", "alt-g r": "git::ReviewDiff", "menu": "editor::OpenContextMenu", "shift-f10": "editor::OpenContextMenu", "ctrl-alt-shift-e": "editor::ToggleEditPrediction", "f9": "editor::ToggleBreakpoint", "shift-f9": "editor::EditLogBreakpoint", }, }, { "context": "Editor && mode == full", "bindings": { "shift-enter": "editor::Newline", "enter": "editor::Newline", "ctrl-enter": "editor::NewlineBelow", "ctrl-shift-enter": "editor::NewlineAbove", "ctrl-k ctrl-z": "editor::ToggleSoftWrap", "ctrl-k z": "editor::ToggleSoftWrap", "find": "buffer_search::Deploy", "ctrl-f": "buffer_search::Deploy", "ctrl-h": "buffer_search::DeployReplace", "ctrl->": "agent::AddSelectionToThread", "ctrl-alt-e": "editor::SelectEnclosingSymbol", "ctrl-shift-backspace": "editor::GoToPreviousChange", "ctrl-shift-alt-backspace": "editor::GoToNextChange", "alt-enter": "editor::OpenSelectionsInMultibuffer", "ctrl-alt-f": "text_finder::Toggle", }, }, { "context": "Editor && mode == full && edit_prediction", "bindings": { "alt-]": "editor::NextEditPrediction", "alt-[": "editor::PreviousEditPrediction", }, }, { "context": "Editor && !edit_prediction", "bindings": { "alt-\\": "editor::ShowEditPrediction", }, }, { "context": "Editor && mode == auto_height", "bindings": { "ctrl-enter": "editor::Newline", "shift-enter": "editor::Newline", "ctrl-shift-enter": "editor::NewlineBelow", }, }, { "context": "Markdown", "bindings": { "copy": "markdown::Copy", "ctrl-insert": "markdown::Copy", "ctrl-c": "markdown::Copy", }, }, { "context": "Editor && jupyter", "bindings": { "ctrl-shift-enter": "repl::Run", "ctrl-alt-enter": "repl::RunInPlace", }, }, { "context": "Editor && !agent_diff", "bindings": { "ctrl-k ctrl-r": "git::Restore", "ctrl-alt-y": "git::ToggleStaged", "alt-y": "git::StageAndNext", "alt-shift-y": "git::UnstageAndNext", }, }, { "context": "Editor && editor_agent_diff", "bindings": { "alt-y": "agent::Keep", "ctrl-alt-y": "agent::Keep", "ctrl-alt-z": "agent::Reject", "shift-alt-y": "agent::KeepAll", "shift-alt-z": "agent::RejectAll", "shift-ctrl-r": "agent::OpenAgentDiff", }, }, { "context": "AgentDiff", "bindings": { "alt-y": "agent::Keep", "ctrl-alt-y": "agent::Keep", "ctrl-alt-z": "agent::Reject", "shift-alt-y": "agent::KeepAll", "shift-alt-z": "agent::RejectAll", }, }, { "context": "AgentPanel", "bindings": { "ctrl-n": "agent::NewThread", "ctrl-alt-c": "agent::OpenSettings", "shift-alt-i": "agent::ToggleOptionsMenu", "ctrl-alt-shift-n": "agent::ToggleNewThreadMenu", "ctrl-shift-e": "project_panel::ToggleFocus", "ctrl-tab": "agents_sidebar::ToggleThreadSwitcher", "ctrl-shift-tab": ["agents_sidebar::ToggleThreadSwitcher", { "select_last": true }], }, }, { "context": "AgentPanel > Markdown", "bindings": { "copy": "markdown::CopyAsMarkdown", "ctrl-insert": "markdown::CopyAsMarkdown", "ctrl-c": "markdown::CopyAsMarkdown", }, }, { "context": "AgentFeedbackMessageEditor > Editor", "bindings": { "escape": "menu::Cancel", "enter": "menu::Confirm", "alt-enter": "editor::Newline", }, }, { "context": "AcpThread > ModeSelector", "bindings": { "ctrl-enter": "menu::Confirm", }, }, { "context": "AcpThread", "use_key_equivalents": true, "bindings": { "ctrl-n": "agent::NewThread", "ctrl--": "pane::GoBack", "ctrl-alt-p": "agent::ManageProfiles", "ctrl-alt-l": "agent::ManageSkills", "ctrl-i": "agent::ToggleProfileSelector", "shift-tab": "agent::CycleModeSelector", "ctrl-alt-/": "agent::ToggleModelSelector", "alt-tab": "agent::CycleFavoriteModels", // `alt-l` is provided as an alternative to `alt-tab` as the latter breaks on Linux under the `AcpThread` context "alt-l": "agent::CycleFavoriteModels", "shift-alt-escape": "agent::ExpandMessageEditor", "ctrl->": "agent::AddSelectionToThread", "shift-alt-q": "agent::AllowAlways", "shift-alt-a": "agent::AllowOnce", "ctrl-alt-a": "agent::OpenPermissionDropdown", "shift-alt-x": "agent::RejectOnce", "pageup": "agent::ScrollOutputPageUp", "pagedown": "agent::ScrollOutputPageDown", "home": "agent::ScrollOutputToTop", "end": "agent::ScrollOutputToBottom", "up": "agent::ScrollOutputLineUp", "down": "agent::ScrollOutputLineDown", "shift-pageup": "agent::ScrollOutputToPreviousMessage", "shift-pagedown": "agent::ScrollOutputToNextMessage", "ctrl-alt-pageup": "agent::ScrollOutputPageUp", "ctrl-alt-pagedown": "agent::ScrollOutputPageDown", "ctrl-alt-home": "agent::ScrollOutputToTop", "ctrl-alt-end": "agent::ScrollOutputToBottom", "ctrl-alt-up": "agent::ScrollOutputLineUp", "ctrl-alt-down": "agent::ScrollOutputLineDown", "ctrl-alt-shift-pageup": "agent::ScrollOutputToPreviousMessage", "ctrl-alt-shift-pagedown": "agent::ScrollOutputToNextMessage", "ctrl-f": "agent::ToggleSearch", "f3": "agent::SelectNextThreadMatch", "shift-f3": "agent::SelectPreviousThreadMatch", "alt-c": "search::ToggleCaseSensitive", "alt-w": "search::ToggleWholeWord", "alt-r": "search::ToggleRegex", }, }, { "context": "AcpThreadSearchBar", "use_key_equivalents": true, "bindings": { "escape": "agent::DismissThreadSearch", "enter": "agent::SelectNextThreadMatch", "shift-enter": "agent::SelectPreviousThreadMatch", "ctrl-f": "search::FocusSearch", }, }, { "context": "AcpThreadSearchBar > Editor", "use_key_equivalents": true, "bindings": { "shift-enter": "agent::SelectPreviousThreadMatch", }, }, { "context": "AcpThread > Editor", "use_key_equivalents": true, "bindings": { "ctrl-f": "agent::ToggleSearch", "ctrl-alt-pageup": "agent::ScrollOutputPageUp", "ctrl-alt-pagedown": "agent::ScrollOutputPageDown", "ctrl-alt-home": "agent::ScrollOutputToTop", "ctrl-alt-end": "agent::ScrollOutputToBottom", "ctrl-alt-up": "agent::ScrollOutputLineUp", "ctrl-alt-down": "agent::ScrollOutputLineDown", "ctrl-alt-shift-pageup": "agent::ScrollOutputToPreviousMessage", "ctrl-alt-shift-pagedown": "agent::ScrollOutputToNextMessage", "ctrl-shift-r": "agent::OpenAgentDiff", "ctrl-shift-d": "git::Diff", "shift-alt-y": "agent::KeepAll", "shift-alt-z": "agent::RejectAll", "shift-alt-u": "agent::UndoLastReject", "ctrl-enter": "agent::ChatWithFollow", "ctrl-shift-enter": "agent::SendImmediately", "ctrl-shift-alt-enter": "agent::SendNextQueuedMessage", "ctrl-shift-backspace": "agent::RemoveFirstQueuedMessage", "ctrl-alt-e": "agent::EditFirstQueuedMessage", "ctrl-alt-s": "agent::ToggleSteerFirstQueuedMessage", "ctrl-alt-backspace": "agent::ClearMessageQueue", "ctrl-shift-v": "agent::PasteRaw", "ctrl-i": "agent::ToggleProfileSelector", "shift-tab": "agent::CycleModeSelector", "alt-tab": "agent::CycleFavoriteModels", // `alt-l` is provided as an alternative to `alt-tab` as the latter breaks on Linux under the `AcpThread > Editor` context "alt-l": "agent::CycleFavoriteModels", "ctrl-;": "agent::OpenAddContextMenu", "ctrl-alt-k": "agent::ToggleThinkingMode", "ctrl-alt-'": "agent::ToggleThinkingEffortMenu", "ctrl-'": "agent::CycleThinkingEffort", "ctrl-alt-.": "agent::ToggleFastMode", }, }, { "context": "AcpThread > Editor && start_of_input", "use_key_equivalents": true, "bindings": { "pageup": "agent::ScrollOutputPageUp", "ctrl-pageup": "agent::ScrollOutputPageUp", "ctrl-home": "agent::ScrollOutputToTop", }, }, { "context": "AcpThread > Editor && end_of_input", "use_key_equivalents": true, "bindings": { "pagedown": "agent::ScrollOutputPageDown", "ctrl-pagedown": "agent::ScrollOutputPageDown", "ctrl-end": "agent::ScrollOutputToBottom", }, }, { "context": "AcpThread > Editor && mode == full", "use_key_equivalents": true, "bindings": { "alt-enter": "editor::OpenExcerpts", }, }, { "context": "AcpThread > Editor && !use_modifier_to_send", "use_key_equivalents": true, "bindings": { "enter": "agent::Chat", }, }, { "context": "AcpThread > Editor && use_modifier_to_send", "use_key_equivalents": true, "bindings": { "ctrl-enter": "agent::Chat", "enter": "editor::Newline", }, }, { "context": "ThreadHistory", "bindings": { "backspace": "agent::RemoveSelectedThread", }, }, { "context": "ThreadsArchiveView", "bindings": { "shift-backspace": "agent::ArchiveSelectedThread", }, }, { "context": "BufferSearchBar", "bindings": { "escape": "buffer_search::Dismiss", "tab": "buffer_search::FocusEditor", "enter": "search::SelectNextMatch", "shift-enter": "search::SelectPreviousMatch", "ctrl-shift-enter": "editor::ToggleFoldAll", "alt-enter": "search::SelectAllMatches", "find": "search::FocusSearch", "ctrl-f": "search::FocusSearch", "ctrl-h": "search::ToggleReplace", "ctrl-l": "search::ToggleSelection", "ctrl-alt-f": "text_finder::Toggle", }, }, { "context": "BufferSearchBar && in_replace > Editor", "bindings": { "enter": "search::ReplaceNext", "ctrl-enter": "search::ReplaceAll", }, }, { "context": "BufferSearchBar && !in_replace > Editor", "use_key_equivalents": true, "bindings": { "ctrl-enter": "editor::Newline", "shift-enter": "search::SelectPreviousMatch", }, }, { "context": "BufferSearchBar && !in_replace > Editor", "bindings": { "up": "search::PreviousHistoryQuery", "down": "search::NextHistoryQuery", }, }, { "context": "ProjectSearchBar", "bindings": { "escape": "project_search::ToggleFocus", "shift-find": "search::FocusSearch", "ctrl-shift-enter": "project_search::ToggleAllSearchResults", "ctrl-shift-f": "search::FocusSearch", "ctrl-shift-h": "search::ToggleReplace", "alt-ctrl-g": "search::ToggleRegex", "alt-ctrl-x": "search::ToggleRegex", "ctrl-alt-f": "project_search::OpenTextFinder", }, }, { "context": "ProjectSearchBar > Editor", "bindings": { "up": "search::PreviousHistoryQuery", "down": "search::NextHistoryQuery", }, }, { "context": "ProjectSearchBar && in_replace > Editor", "bindings": { "enter": "search::ReplaceNext", "ctrl-alt-enter": "search::ReplaceAll", }, }, { "context": "ProjectSearchBar && !in_replace > Editor", "bindings": { "ctrl-enter": "editor::Newline", }, }, { "context": "ProjectSearchView", "bindings": { "escape": "project_search::ToggleFocus", "ctrl-shift-h": "search::ToggleReplace", "alt-ctrl-g": "search::ToggleRegex", "alt-ctrl-x": "search::ToggleRegex", "ctrl-alt-f": "project_search::OpenTextFinder", }, }, { "context": "Pane", "bindings": { "alt-1": ["pane::ActivateItem", 0], "alt-2": ["pane::ActivateItem", 1], "alt-3": ["pane::ActivateItem", 2], "alt-4": ["pane::ActivateItem", 3], "alt-5": ["pane::ActivateItem", 4], "alt-6": ["pane::ActivateItem", 5], "alt-7": ["pane::ActivateItem", 6], "alt-8": ["pane::ActivateItem", 7], "alt-9": ["pane::ActivateItem", 8], "alt-0": "pane::ActivateLastItem", "ctrl-pageup": "pane::ActivatePreviousItem", "ctrl-pagedown": "pane::ActivateNextItem", "ctrl-shift-pageup": "pane::SwapItemLeft",Lines 1–500 of 1614. Load more
[ // Standard Linux bindings { "bindings": { "home": "menu::SelectFirst", "shift-pageup": "menu::SelectFirst", "pageup": "menu::SelectFirst", "end": "menu::SelectLast", "shift-pagedown": "menu::SelectLast", "pagedown": "menu::SelectLast", "ctrl-n": "menu::SelectNext", "tab": "menu::SelectNext", "down": "menu::SelectNext", "ctrl-p": "menu::SelectPrevious", "shift-tab": "menu::SelectPrevious", "up": "menu::SelectPrevious", "enter": "menu::Confirm", "ctrl-enter": "menu::SecondaryConfirm", "ctrl-escape": "menu::Cancel", "ctrl-c": "menu::Cancel", "escape": "menu::Cancel", "alt-shift-enter": "menu::Restart", "alt-enter": ["picker::ConfirmInput", { "secondary": false }], "ctrl-alt-enter": ["picker::ConfirmInput", { "secondary": true }], "ctrl-shift-w": "workspace::CloseWindow", "shift-escape": "workspace::ToggleZoom", "open": "workspace::Open", "ctrl-o": "workspace::OpenFiles", "ctrl-k ctrl-o": "workspace::Open", "ctrl-=": ["zed::IncreaseBufferFontSize", { "persist": false }], "ctrl-+": ["zed::IncreaseBufferFontSize", { "persist": false }], "ctrl--": ["zed::DecreaseBufferFontSize", { "persist": false }], "ctrl-0": ["zed::ResetBufferFontSize", { "persist": false }], "ctrl-alt-,": "zed::OpenSettingsFile", "ctrl-q": "zed::Quit", "f4": "debugger::Start", "f11": "zed::ToggleFullScreen", "ctrl-alt-z": "edit_prediction::RatePredictions", "ctrl-alt-shift-i": "edit_prediction::ToggleMenu", "ctrl-alt-l": "lsp_tool::ToggleMenu", "ctrl-alt-shift-s": "workspace::ToggleWorktreeSecurity", }, }, { "context": "Picker || menu", "bindings": { "up": "menu::SelectPrevious", "down": "menu::SelectNext", }, }, { "context": "menu", "bindings": { "right": "menu::SelectChild", "left": "menu::SelectParent", }, }, { "context": "Editor", "bindings": { "escape": "editor::Cancel", "shift-backspace": "editor::Backspace", "backspace": "editor::Backspace", "delete": "editor::Delete", "tab": "editor::Tab", "shift-tab": "editor::Backtab", "ctrl-k ctrl-q": "editor::Rewrap", "ctrl-k q": "editor::Rewrap", "ctrl-backspace": ["editor::DeleteToPreviousWordStart", { "ignore_newlines": false, "ignore_brackets": false }], "ctrl-delete": ["editor::DeleteToNextWordEnd", { "ignore_newlines": false, "ignore_brackets": false }], "cut": "editor::Cut", "shift-delete": "editor::Cut", "ctrl-x": "editor::Cut", "copy": "editor::Copy", "ctrl-insert": "editor::Copy", "ctrl-c": "editor::Copy", "paste": "editor::Paste", "shift-insert": "editor::Paste", "ctrl-v": "editor::Paste", "undo": "editor::Undo", "ctrl-z": "editor::Undo", "redo": "editor::Redo", "ctrl-y": "editor::Redo", "ctrl-shift-z": "editor::Redo", "up": "editor::MoveUp", "ctrl-up": "editor::LineUp", "ctrl-down": "editor::LineDown", "pageup": "editor::MovePageUp", "alt-pageup": "editor::PageUp", "shift-pageup": "editor::SelectPageUp", "home": ["editor::MoveToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }], "down": "editor::MoveDown", "pagedown": "editor::MovePageDown", "alt-pagedown": "editor::PageDown", "shift-pagedown": "editor::SelectPageDown", "end": ["editor::MoveToEndOfLine", { "stop_at_soft_wraps": true }], "left": "editor::MoveLeft", "right": "editor::MoveRight", "ctrl-left": "editor::MoveToPreviousWordStart", "ctrl-right": "editor::MoveToNextWordEnd", "ctrl-home": "editor::MoveToBeginning", "ctrl-end": "editor::MoveToEnd", "shift-up": "editor::SelectUp", "shift-down": "editor::SelectDown", "shift-left": "editor::SelectLeft", "shift-right": "editor::SelectRight", "ctrl-shift-left": "editor::SelectToPreviousWordStart", "ctrl-shift-right": "editor::SelectToNextWordEnd", "ctrl-shift-home": "editor::SelectToBeginning", "ctrl-shift-end": "editor::SelectToEnd", "ctrl-a": "editor::SelectAll", "ctrl-l": "editor::SelectLine", "ctrl-shift-i": "editor::Format", "alt-shift-o": "editor::OrganizeImports", "shift-home": ["editor::SelectToBeginningOfLine", { "stop_at_soft_wraps": true, "stop_at_indent": true }], "shift-end": ["editor::SelectToEndOfLine", { "stop_at_soft_wraps": true }], "ctrl-alt-space": "editor::ShowCharacterPalette", "ctrl-;": "editor::ToggleLineNumbers", "ctrl-'": "editor::ToggleSelectedDiffHunks", "ctrl-\"": "editor::ExpandAllDiffHunks", "ctrl-i": "editor::ShowSignatureHelp", "alt-g b": "git::Blame", "alt-g m": "git::OpenModifiedFiles", "alt-g r": "git::ReviewDiff", "menu": "editor::OpenContextMenu", "shift-f10": "editor::OpenContextMenu", "ctrl-alt-shift-e": "editor::ToggleEditPrediction", "f9": "editor::ToggleBreakpoint", "shift-f9": "editor::EditLogBreakpoint", }, }, { "context": "Editor && mode == full", "bindings": { "shift-enter": "editor::Newline", "enter": "editor::Newline", "ctrl-enter": "editor::NewlineBelow", "ctrl-shift-enter": "editor::NewlineAbove", "ctrl-k ctrl-z": "editor::ToggleSoftWrap", "ctrl-k z": "editor::ToggleSoftWrap", "find": "buffer_search::Deploy", "ctrl-f": "buffer_search::Deploy", "ctrl-h": "buffer_search::DeployReplace", "ctrl->": "agent::AddSelectionToThread", "ctrl-alt-e": "editor::SelectEnclosingSymbol", "ctrl-shift-backspace": "editor::GoToPreviousChange", "ctrl-shift-alt-backspace": "editor::GoToNextChange", "alt-enter": "editor::OpenSelectionsInMultibuffer", "ctrl-alt-f": "text_finder::Toggle", }, }, { "context": "Editor && mode == full && edit_prediction", "bindings": { "alt-]": "editor::NextEditPrediction", "alt-[": "editor::PreviousEditPrediction", }, }, { "context": "Editor && !edit_prediction", "bindings": { "alt-\\": "editor::ShowEditPrediction", }, }, { "context": "Editor && mode == auto_height", "bindings": { "ctrl-enter": "editor::Newline", "shift-enter": "editor::Newline", "ctrl-shift-enter": "editor::NewlineBelow", }, }, { "context": "Markdown", "bindings": { "copy": "markdown::Copy", "ctrl-insert": "markdown::Copy", "ctrl-c": "markdown::Copy", }, }, { "context": "Editor && jupyter", "bindings": { "ctrl-shift-enter": "repl::Run", "ctrl-alt-enter": "repl::RunInPlace", }, }, { "context": "Editor && !agent_diff", "bindings": { "ctrl-k ctrl-r": "git::Restore", "ctrl-alt-y": "git::ToggleStaged", "alt-y": "git::StageAndNext", "alt-shift-y": "git::UnstageAndNext", }, }, { "context": "Editor && editor_agent_diff", "bindings": { "alt-y": "agent::Keep", "ctrl-alt-y": "agent::Keep", "ctrl-alt-z": "agent::Reject", "shift-alt-y": "agent::KeepAll", "shift-alt-z": "agent::RejectAll", "shift-ctrl-r": "agent::OpenAgentDiff", }, }, { "context": "AgentDiff", "bindings": { "alt-y": "agent::Keep", "ctrl-alt-y": "agent::Keep", "ctrl-alt-z": "agent::Reject", "shift-alt-y": "agent::KeepAll", "shift-alt-z": "agent::RejectAll", }, }, { "context": "AgentPanel", "bindings": { "ctrl-n": "agent::NewThread", "ctrl-alt-c": "agent::OpenSettings", "shift-alt-i": "agent::ToggleOptionsMenu", "ctrl-alt-shift-n": "agent::ToggleNewThreadMenu", "ctrl-shift-e": "project_panel::ToggleFocus", "ctrl-tab": "agents_sidebar::ToggleThreadSwitcher", "ctrl-shift-tab": ["agents_sidebar::ToggleThreadSwitcher", { "select_last": true }], }, }, { "context": "AgentPanel > Markdown", "bindings": { "copy": "markdown::CopyAsMarkdown", "ctrl-insert": "markdown::CopyAsMarkdown", "ctrl-c": "markdown::CopyAsMarkdown", }, }, { "context": "AgentFeedbackMessageEditor > Editor", "bindings": { "escape": "menu::Cancel", "enter": "menu::Confirm", "alt-enter": "editor::Newline", }, }, { "context": "AcpThread > ModeSelector", "bindings": { "ctrl-enter": "menu::Confirm", }, }, { "context": "AcpThread", "use_key_equivalents": true, "bindings": { "ctrl-n": "agent::NewThread", "ctrl--": "pane::GoBack", "ctrl-alt-p": "agent::ManageProfiles", "ctrl-alt-l": "agent::ManageSkills", "ctrl-i": "agent::ToggleProfileSelector", "shift-tab": "agent::CycleModeSelector", "ctrl-alt-/": "agent::ToggleModelSelector", "alt-tab": "agent::CycleFavoriteModels", // `alt-l` is provided as an alternative to `alt-tab` as the latter breaks on Linux under the `AcpThread` context "alt-l": "agent::CycleFavoriteModels", "shift-alt-escape": "agent::ExpandMessageEditor", "ctrl->": "agent::AddSelectionToThread", "shift-alt-q": "agent::AllowAlways", "shift-alt-a": "agent::AllowOnce", "ctrl-alt-a": "agent::OpenPermissionDropdown", "shift-alt-x": "agent::RejectOnce", "pageup": "agent::ScrollOutputPageUp", "pagedown": "agent::ScrollOutputPageDown", "home": "agent::ScrollOutputToTop", "end": "agent::ScrollOutputToBottom", "up": "agent::ScrollOutputLineUp", "down": "agent::ScrollOutputLineDown", "shift-pageup": "agent::ScrollOutputToPreviousMessage", "shift-pagedown": "agent::ScrollOutputToNextMessage", "ctrl-alt-pageup": "agent::ScrollOutputPageUp", "ctrl-alt-pagedown": "agent::ScrollOutputPageDown", "ctrl-alt-home": "agent::ScrollOutputToTop", "ctrl-alt-end": "agent::ScrollOutputToBottom", "ctrl-alt-up": "agent::ScrollOutputLineUp", "ctrl-alt-down": "agent::ScrollOutputLineDown", "ctrl-alt-shift-pageup": "agent::ScrollOutputToPreviousMessage", "ctrl-alt-shift-pagedown": "agent::ScrollOutputToNextMessage", "ctrl-f": "agent::ToggleSearch", "f3": "agent::SelectNextThreadMatch", "shift-f3": "agent::SelectPreviousThreadMatch", "alt-c": "search::ToggleCaseSensitive", "alt-w": "search::ToggleWholeWord", "alt-r": "search::ToggleRegex", }, }, { "context": "AcpThreadSearchBar", "use_key_equivalents": true, "bindings": { "escape": "agent::DismissThreadSearch", "enter": "agent::SelectNextThreadMatch", "shift-enter": "agent::SelectPreviousThreadMatch", "ctrl-f": "search::FocusSearch", }, }, { "context": "AcpThreadSearchBar > Editor", "use_key_equivalents": true, "bindings": { "shift-enter": "agent::SelectPreviousThreadMatch", }, }, { "context": "AcpThread > Editor", "use_key_equivalents": true, "bindings": { "ctrl-f": "agent::ToggleSearch", "ctrl-alt-pageup": "agent::ScrollOutputPageUp", "ctrl-alt-pagedown": "agent::ScrollOutputPageDown", "ctrl-alt-home": "agent::ScrollOutputToTop", "ctrl-alt-end": "agent::ScrollOutputToBottom", "ctrl-alt-up": "agent::ScrollOutputLineUp", "ctrl-alt-down": "agent::ScrollOutputLineDown", "ctrl-alt-shift-pageup": "agent::ScrollOutputToPreviousMessage", "ctrl-alt-shift-pagedown": "agent::ScrollOutputToNextMessage", "ctrl-shift-r": "agent::OpenAgentDiff", "ctrl-shift-d": "git::Diff", "shift-alt-y": "agent::KeepAll", "shift-alt-z": "agent::RejectAll", "shift-alt-u": "agent::UndoLastReject", "ctrl-enter": "agent::ChatWithFollow", "ctrl-shift-enter": "agent::SendImmediately", "ctrl-shift-alt-enter": "agent::SendNextQueuedMessage", "ctrl-shift-backspace": "agent::RemoveFirstQueuedMessage", "ctrl-alt-e": "agent::EditFirstQueuedMessage", "ctrl-alt-s": "agent::ToggleSteerFirstQueuedMessage", "ctrl-alt-backspace": "agent::ClearMessageQueue", "ctrl-shift-v": "agent::PasteRaw", "ctrl-i": "agent::ToggleProfileSelector", "shift-tab": "agent::CycleModeSelector", "alt-tab": "agent::CycleFavoriteModels", // `alt-l` is provided as an alternative to `alt-tab` as the latter breaks on Linux under the `AcpThread > Editor` context "alt-l": "agent::CycleFavoriteModels", "ctrl-;": "agent::OpenAddContextMenu", "ctrl-alt-k": "agent::ToggleThinkingMode", "ctrl-alt-'": "agent::ToggleThinkingEffortMenu", "ctrl-'": "agent::CycleThinkingEffort", "ctrl-alt-.": "agent::ToggleFastMode", }, }, { "context": "AcpThread > Editor && start_of_input", "use_key_equivalents": true, "bindings": { "pageup": "agent::ScrollOutputPageUp", "ctrl-pageup": "agent::ScrollOutputPageUp", "ctrl-home": "agent::ScrollOutputToTop", }, }, { "context": "AcpThread > Editor && end_of_input", "use_key_equivalents": true, "bindings": { "pagedown": "agent::ScrollOutputPageDown", "ctrl-pagedown": "agent::ScrollOutputPageDown", "ctrl-end": "agent::ScrollOutputToBottom", }, }, { "context": "AcpThread > Editor && mode == full", "use_key_equivalents": true, "bindings": { "alt-enter": "editor::OpenExcerpts", }, }, { "context": "AcpThread > Editor && !use_modifier_to_send", "use_key_equivalents": true, "bindings": { "enter": "agent::Chat", }, }, { "context": "AcpThread > Editor && use_modifier_to_send", "use_key_equivalents": true, "bindings": { "ctrl-enter": "agent::Chat", "enter": "editor::Newline", }, }, { "context": "ThreadHistory", "bindings": { "backspace": "agent::RemoveSelectedThread", }, }, { "context": "ThreadsArchiveView", "bindings": { "shift-backspace": "agent::ArchiveSelectedThread", }, }, { "context": "BufferSearchBar", "bindings": { "escape": "buffer_search::Dismiss", "tab": "buffer_search::FocusEditor", "enter": "search::SelectNextMatch", "shift-enter": "search::SelectPreviousMatch", "ctrl-shift-enter": "editor::ToggleFoldAll", "alt-enter": "search::SelectAllMatches", "find": "search::FocusSearch", "ctrl-f": "search::FocusSearch", "ctrl-h": "search::ToggleReplace", "ctrl-l": "search::ToggleSelection", "ctrl-alt-f": "text_finder::Toggle", }, }, { "context": "BufferSearchBar && in_replace > Editor", "bindings": { "enter": "search::ReplaceNext", "ctrl-enter": "search::ReplaceAll", }, }, { "context": "BufferSearchBar && !in_replace > Editor", "use_key_equivalents": true, "bindings": { "ctrl-enter": "editor::Newline", "shift-enter": "search::SelectPreviousMatch", }, }, { "context": "BufferSearchBar && !in_replace > Editor", "bindings": { "up": "search::PreviousHistoryQuery", "down": "search::NextHistoryQuery", }, }, { "context": "ProjectSearchBar", "bindings": { "escape": "project_search::ToggleFocus", "shift-find": "search::FocusSearch", "ctrl-shift-enter": "project_search::ToggleAllSearchResults", "ctrl-shift-f": "search::FocusSearch", "ctrl-shift-h": "search::ToggleReplace", "alt-ctrl-g": "search::ToggleRegex", "alt-ctrl-x": "search::ToggleRegex", "ctrl-alt-f": "project_search::OpenTextFinder", }, }, { "context": "ProjectSearchBar > Editor", "bindings": { "up": "search::PreviousHistoryQuery", "down": "search::NextHistoryQuery", }, }, { "context": "ProjectSearchBar && in_replace > Editor", "bindings": { "enter": "search::ReplaceNext", "ctrl-alt-enter": "search::ReplaceAll", }, }, { "context": "ProjectSearchBar && !in_replace > Editor", "bindings": { "ctrl-enter": "editor::Newline", }, }, { "context": "ProjectSearchView", "bindings": { "escape": "project_search::ToggleFocus", "ctrl-shift-h": "search::ToggleReplace", "alt-ctrl-g": "search::ToggleRegex", "alt-ctrl-x": "search::ToggleRegex", "ctrl-alt-f": "project_search::OpenTextFinder", }, }, { "context": "Pane", "bindings": { "alt-1": ["pane::ActivateItem", 0], "alt-2": ["pane::ActivateItem", 1], "alt-3": ["pane::ActivateItem", 2], "alt-4": ["pane::ActivateItem", 3], "alt-5": ["pane::ActivateItem", 4], "alt-6": ["pane::ActivateItem", 5], "alt-7": ["pane::ActivateItem", 6], "alt-8": ["pane::ActivateItem", 7], "alt-9": ["pane::ActivateItem", 8], "alt-0": "pane::ActivateLastItem", "ctrl-pageup": "pane::ActivatePreviousItem", "ctrl-pagedown": "pane::ActivateNextItem", "ctrl-shift-pageup": "pane::SwapItemLeft",