[ { "context": "EmptyPane", "bindings": { ":": "command_palette::Toggle", "space p": "file_finder::Toggle" } }, { "context": "Editor && VimControl && !VimWaiting && !menu", "bindings": { "space b c": "pane::CloseActiveItem", ":": "command_palette::Toggle", "space p": "file_finder::Toggle", "space h": "pane::ActivatePrevItem", "space l": "pane::ActivateNextItem", "space c space": "editor::ToggleComments", // multi-cursor "cmd-d": "editor::SelectNext", "cmd-shift-d": "editor::SelectPrevious", "cmd-shift-l": "editor::SelectAllMatches", "ctrl-j": "editor::AddSelectionBelow", "ctrl-k": "editor::AddSelectionAbove", // lsp "space m f": "editor::Format", "space m /": "project_symbols::Toggle", "space m g": "editor::GoToDefinition", "space m d": "editor::Hover", "space m n": "editor::Rename", "space m r": "editor::FindAllReferences", "space m t": "editor::GoToTypeDefinition", "space m e": "editor::GoToDiagnostic", "space m E": "editor::GoToPrevDiagnostic", "space m v": "editor::ToggleCodeActions", "space m o": "outline::Toggle", // diagnostics "space e e": "diagnostics::Deploy", "space e w": "diagnostics::ToggleWarnings", // view "space v f": "project_panel::ToggleFocus", "space v n": "editor::ToggleLineNumbers", "space v i": "editor::ToggleInlayHints", // Git "space g b": "editor::ToggleGitBlame" } }, { "context": "Editor && vim_mode == normal && !VimWaiting && !menu", "bindings": {} }, { "context": "((Editor && vim_mode == normal) || Terminal) && !VimWaiting && !menu", "bindings": { "cmd-t cmd-t": "terminal_panel::ToggleFocus", "cmd-t cmd-n": "workspace::NewTerminal", "cmd-t cmd-shift-n": "workspace::NewCenterTerminal", "cmd-t cmd-h": "pane::ActivatePrevItem", "cmd-t cmd-l": "pane::ActivateNextItem", "cmd-x cmd-c": "pane::CloseActiveItem" } }, { "context": "Editor && vim_mode == visual && !VimWaiting && !menu", "bindings": { "n": "editor::SelectLargerSyntaxNode", "N": "editor::SelectSmallerSyntaxNode", "m": "vim::SelectNext", "M": "vim::SelectPrevious", ",": "editor::SplitSelectionIntoLines" } }, { "context": "Editor && vim_mode == insert", "bindings": { "ctrl-w": "editor::DeleteToPreviousWordStart" } } ]