summaryrefslogtreecommitdiff
path: root/dot-config/zed/keymap.json
diff options
context:
space:
mode:
Diffstat (limited to 'dot-config/zed/keymap.json')
-rw-r--r--dot-config/zed/keymap.json650
1 files changed, 340 insertions, 310 deletions
diff --git a/dot-config/zed/keymap.json b/dot-config/zed/keymap.json
index ce52766a..d84fcae1 100644
--- a/dot-config/zed/keymap.json
+++ b/dot-config/zed/keymap.json
@@ -10,915 +10,915 @@
"context": "Workspace",
"bindings": {
// "shift shift": "file_finder::Toggle"
- }
+ },
},
{
"context": "Editor && vim_mode == insert",
"bindings": {
// "j k": "vim::NormalBefore"
- }
+ },
},
{
"context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
"bindings": {
- "space w": "workspace::Save"
- }
+ "space w": "workspace::Save",
+ },
},
{
"context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
"bindings": {
- "space c": "pane::CloseActiveItem"
- }
+ "space c": "pane::CloseActiveItem",
+ },
},
{
"context": "Pane",
"bindings": {
- "ctrl-1": ["pane::ActivateItem", 0]
- }
+ "ctrl-1": ["pane::ActivateItem", 0],
+ },
},
{
"context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
"bindings": {
- "space 1": ["pane::ActivateItem", 0]
- }
+ "space 1": ["pane::ActivateItem", 0],
+ },
},
{
"context": "Pane",
"bindings": {
- "ctrl-2": ["pane::ActivateItem", 1]
- }
+ "ctrl-2": ["pane::ActivateItem", 1],
+ },
},
{
"context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
"bindings": {
- "space 2": ["pane::ActivateItem", 1]
- }
+ "space 2": ["pane::ActivateItem", 1],
+ },
},
{
"context": "Pane",
"bindings": {
- "ctrl-3": ["pane::ActivateItem", 2]
- }
+ "ctrl-3": ["pane::ActivateItem", 2],
+ },
},
{
"context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
"bindings": {
- "space 3": ["pane::ActivateItem", 2]
- }
+ "space 3": ["pane::ActivateItem", 2],
+ },
},
{
"context": "Pane",
"bindings": {
- "ctrl-4": ["pane::ActivateItem", 3]
- }
+ "ctrl-4": ["pane::ActivateItem", 3],
+ },
},
{
"context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
"bindings": {
- "space 4": ["pane::ActivateItem", 3]
- }
+ "space 4": ["pane::ActivateItem", 3],
+ },
},
{
"context": "Pane",
"bindings": {
- "ctrl-5": ["pane::ActivateItem", 4]
- }
+ "ctrl-5": ["pane::ActivateItem", 4],
+ },
},
{
"context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
"bindings": {
- "space 5": ["pane::ActivateItem", 4]
- }
+ "space 5": ["pane::ActivateItem", 4],
+ },
},
{
"context": "Pane",
"bindings": {
- "ctrl-6": ["pane::ActivateItem", 5]
- }
+ "ctrl-6": ["pane::ActivateItem", 5],
+ },
},
{
"context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
"bindings": {
- "space 6": ["pane::ActivateItem", 5]
- }
+ "space 6": ["pane::ActivateItem", 5],
+ },
},
{
"context": "Pane",
"bindings": {
- "ctrl-7": ["pane::ActivateItem", 6]
- }
+ "ctrl-7": ["pane::ActivateItem", 6],
+ },
},
{
"context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
"bindings": {
- "space 7": ["pane::ActivateItem", 6]
- }
+ "space 7": ["pane::ActivateItem", 6],
+ },
},
{
"context": "Pane",
"bindings": {
- "ctrl-8": ["pane::ActivateItem", 7]
- }
+ "ctrl-8": ["pane::ActivateItem", 7],
+ },
},
{
"context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
"bindings": {
- "space 8": ["pane::ActivateItem", 7]
- }
+ "space 8": ["pane::ActivateItem", 7],
+ },
},
{
"context": "Pane",
"bindings": {
- "ctrl-9": ["pane::ActivateItem", 8]
- }
+ "ctrl-9": ["pane::ActivateItem", 8],
+ },
},
{
"context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
"bindings": {
- "space 9": ["pane::ActivateItem", 8]
- }
+ "space 9": ["pane::ActivateItem", 8],
+ },
},
{
"context": "(VimControl && !menu)",
"bindings": {
- "ctrl-w d": null
- }
+ "ctrl-w d": null,
+ },
},
{
"context": "(VimControl && !menu)",
"bindings": {
- "ctrl-w ]": null
- }
+ "ctrl-w ]": null,
+ },
},
{
"context": "(VimControl && !menu)",
"bindings": {
- "ctrl-w g d": null
- }
+ "ctrl-w g d": null,
+ },
},
{
"context": "(VimControl && !menu)",
"bindings": {
- "ctrl-w ctrl-]": null
- }
+ "ctrl-w ctrl-]": null,
+ },
},
{
"context": "(VimControl && !menu)",
"bindings": {
- "ctrl-w g shift-d": null
- }
+ "ctrl-w g shift-d": null,
+ },
},
{
"context": "(VimControl && !menu)",
"bindings": {
- "ctrl-w g space": null
- }
+ "ctrl-w g space": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-g shift-t": null
- }
+ "ctrl-w ctrl-g shift-t": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-c": null
- }
+ "ctrl-w ctrl-c": null,
+ },
},
{
"context": "(VimControl && !menu)",
"bindings": {
- "ctrl-w shift-d": null
- }
+ "ctrl-w shift-d": null,
+ },
},
{
"context": "(VimControl && !menu)",
"bindings": {
- "ctrl-w space": null
- }
+ "ctrl-w space": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w g t": null
- }
+ "ctrl-w g t": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-g t": null
- }
+ "ctrl-w ctrl-g t": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w g shift-t": null
- }
+ "ctrl-w g shift-t": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w shift-up": null
- }
+ "ctrl-w shift-up": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w shift-down": null
- }
+ "ctrl-w shift-down": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w shift-k": null
- }
+ "ctrl-w shift-k": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w shift-l": null
- }
+ "ctrl-w shift-l": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-k": null
- }
+ "ctrl-w ctrl-k": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w up": null
- }
+ "ctrl-w up": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w l": null
- }
+ "ctrl-w l": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-l": null
- }
+ "ctrl-w ctrl-l": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w right": null
- }
+ "ctrl-w right": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w h": null
- }
+ "ctrl-w h": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-h": null
- }
+ "ctrl-w ctrl-h": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-j": null
- }
+ "ctrl-w ctrl-j": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-w": null
- }
+ "ctrl-w ctrl-w": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w left": null
- }
+ "ctrl-w left": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w k": null
- }
+ "ctrl-w k": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w p": null
- }
+ "ctrl-w p": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w shift-w": null
- }
+ "ctrl-w shift-w": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-o": null
- }
+ "ctrl-w ctrl-o": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w o": null
- }
+ "ctrl-w o": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w shift-right": null
- }
+ "ctrl-w shift-right": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w shift-left": null
- }
+ "ctrl-w shift-left": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-n": null
- }
+ "ctrl-w ctrl-n": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w n": null
- }
+ "ctrl-w n": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w shift-j": null
- }
+ "ctrl-w shift-j": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w shift-h": null
- }
+ "ctrl-w shift-h": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-p": null
- }
+ "ctrl-w ctrl-p": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-shift-w": null
- }
+ "ctrl-w ctrl-shift-w": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w j": null
- }
+ "ctrl-w j": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w down": null
- }
+ "ctrl-w down": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w w": null
- }
+ "ctrl-w w": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w +": null
- }
+ "ctrl-w +": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w >": null
- }
+ "ctrl-w >": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w <": null
- }
+ "ctrl-w <": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w =": null
- }
+ "ctrl-w =": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w _": null
- }
+ "ctrl-w _": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w -": null
- }
+ "ctrl-w -": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w v": null
- }
+ "ctrl-w v": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-v": null
- }
+ "ctrl-w ctrl-v": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w s": null
- }
+ "ctrl-w s": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w shift-s": null
- }
+ "ctrl-w shift-s": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-s": null
- }
+ "ctrl-w ctrl-s": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w a": null
- }
+ "ctrl-w a": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-a": null
- }
+ "ctrl-w ctrl-a": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w q": null
- }
+ "ctrl-w q": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w ctrl-q": null
- }
+ "ctrl-w ctrl-q": null,
+ },
},
{
"context": "((VimControl && !menu) || (!Editor && !Terminal))",
"bindings": {
- "ctrl-w c": null
- }
+ "ctrl-w c": null,
+ },
},
{
"context": "KeystrokeInput",
"bindings": {
- "escape escape escape": null
- }
+ "escape escape escape": null,
+ },
},
{
"context": "Workspace",
"bindings": {
- "ctrl-1": ["workspace::ActivatePane", 0]
- }
+ "ctrl-1": ["workspace::ActivatePane", 0],
+ },
},
{
"context": "(VimControl && !menu)",
"bindings": {
- "ctrl-j": "vim::Down"
- }
+ "ctrl-j": "vim::Down",
+ },
},
{
"context": "(Editor && (showing_code_actions || showing_completions))",
"bindings": {
- "ctrl-j": "editor::ContextMenuNext"
- }
+ "ctrl-j": "editor::ContextMenuNext",
+ },
},
{
"bindings": {
- "ctrl-j": "menu::SelectNext"
- }
+ "ctrl-j": "menu::SelectNext",
+ },
},
{
"context": "(Picker || menu)",
"bindings": {
- "ctrl-j": "menu::SelectNext"
- }
+ "ctrl-j": "menu::SelectNext",
+ },
},
{
"context": "(GitPanel && ChangesList)",
"bindings": {
- "ctrl-j": "menu::SelectNext"
- }
+ "ctrl-j": "menu::SelectNext",
+ },
},
{
"context": "Picker > Editor",
"bindings": {
- "ctrl-j": "menu::SelectNext"
- }
+ "ctrl-j": "menu::SelectNext",
+ },
},
{
"context": "KeybindEditorModal > Editor",
"bindings": {
- "ctrl-j": "menu::SelectNext"
- }
+ "ctrl-j": "menu::SelectNext",
+ },
},
{
"context": "(Editor && (showing_code_actions || showing_completions))",
"bindings": {
- "ctrl-k": "editor::ContextMenuPrevious"
- }
+ "ctrl-k": "editor::ContextMenuPrevious",
+ },
},
{
"bindings": {
- "ctrl-k": "menu::SelectPrevious"
- }
+ "ctrl-k": "menu::SelectPrevious",
+ },
},
{
"context": "(Picker || menu)",
"bindings": {
- "ctrl-k": "menu::SelectPrevious"
- }
+ "ctrl-k": "menu::SelectPrevious",
+ },
},
{
"context": "(GitPanel && ChangesList)",
"bindings": {
- "ctrl-k": "menu::SelectPrevious"
- }
+ "ctrl-k": "menu::SelectPrevious",
+ },
},
{
"context": "Picker > Editor",
"bindings": {
- "ctrl-k": "menu::SelectPrevious"
- }
+ "ctrl-k": "menu::SelectPrevious",
+ },
},
{
"context": "KeybindEditorModal > Editor",
"bindings": {
- "ctrl-k": "menu::SelectPrevious"
- }
+ "ctrl-k": "menu::SelectPrevious",
+ },
},
{
"context": "ContextStrip",
"bindings": {
- "ctrl-j": "agent::FocusDown"
- }
+ "ctrl-j": "agent::FocusDown",
+ },
},
{
"context": "ContextStrip",
"bindings": {
- "ctrl-k": "agent::FocusUp"
- }
+ "ctrl-k": "agent::FocusUp",
+ },
},
{
"context": "(Editor && showing_completions)",
"bindings": {
- "ctrl-y": "editor::ConfirmCompletion"
- }
+ "ctrl-y": "editor::ConfirmCompletion",
+ },
},
{
"context": "(Editor && showing_completions)",
"bindings": {
- "enter": "editor::Newline"
- }
+ "enter": "editor::Newline",
+ },
},
{
"context": "(Editor && edit_prediction)",
"bindings": {
- "tab": "editor::Tab"
- }
+ "tab": "editor::Tab",
+ },
},
{
"context": "(((Editor && in_snippet) && has_next_tabstop) && !showing_completions)",
"bindings": {
- "ctrl-f": "editor::NextSnippetTabstop"
- }
+ "ctrl-f": "editor::NextSnippetTabstop",
+ },
},
{
"context": "Picker > Editor",
"bindings": {
- "ctrl-y": "picker::ConfirmCompletion"
- }
+ "ctrl-y": "picker::ConfirmCompletion",
+ },
},
{
"context": "Picker > Editor",
"bindings": {
- "tab": null
- }
+ "tab": null,
+ },
},
{
"context": "(((Editor && in_snippet) && has_next_tabstop) && !showing_completions)",
"bindings": {
- "tab": null
- }
+ "tab": null,
+ },
},
{
"context": "(Editor && showing_completions)",
"bindings": {
- "tab": "editor::Tab"
- }
+ "ctrl-f": "editor::Tab",
+ },
},
{
"context": "(Picker || menu)",
"bindings": {
- "down": null
- }
+ "down": null,
+ },
},
{
"context": "(GitPanel && ChangesList)",
"bindings": {
- "down": null
- }
+ "down": null,
+ },
},
{
"context": "Picker > Editor",
"bindings": {
- "down": null
- }
+ "down": null,
+ },
},
{
"context": "KeybindEditorModal > Editor",
"bindings": {
- "down": null
- }
+ "down": null,
+ },
},
{
"context": "((Editor && showing_signature_help) && !showing_completions)",
"bindings": {
- "down": null
- }
+ "down": null,
+ },
},
{
"context": "(((vim_mode == insert || vim_mode == normal) && showing_signature_help) && !showing_completions)",
"bindings": {
- "ctrl-l": "editor::SignatureHelpNext"
- }
+ "ctrl-l": "editor::SignatureHelpNext",
+ },
},
{
"context": "(Editor && (showing_code_actions || showing_completions))",
"bindings": {
- "down": "editor::MoveDown"
- }
+ "down": "editor::MoveDown",
+ },
},
{
"context": "(ProjectPanel && not_editing)",
"bindings": {
- "ctrl-j": "vim::MenuSelectNext"
- }
+ "ctrl-j": "vim::MenuSelectNext",
+ },
},
{
"context": "(ProjectPanel && not_editing)",
"bindings": {
- "down": null
- }
+ "down": null,
+ },
},
{
"context": "(Picker || menu)",
"bindings": {
- "up": null
- }
+ "up": null,
+ },
},
{
"context": "(GitPanel && ChangesList)",
"bindings": {
- "up": null
- }
+ "up": null,
+ },
},
{
"context": "Picker > Editor",
"bindings": {
- "up": null
- }
+ "up": null,
+ },
},
{
"context": "KeybindEditorModal > Editor",
"bindings": {
- "up": null
- }
+ "up": null,
+ },
},
{
"context": "(ProjectPanel && not_editing)",
"bindings": {
- "up": null
- }
+ "up": null,
+ },
},
{
"context": "(ProjectPanel && not_editing)",
"bindings": {
- "ctrl-k": "vim::MenuSelectPrevious"
- }
+ "ctrl-k": "vim::MenuSelectPrevious",
+ },
},
{
"context": "(((vim_mode == insert || vim_mode == normal) && showing_signature_help) && !showing_completions)",
"bindings": {
- "ctrl-h": "editor::SignatureHelpPrevious"
- }
+ "ctrl-h": "editor::SignatureHelpPrevious",
+ },
},
{
"context": "((Editor && showing_signature_help) && !showing_completions)",
"bindings": {
- "up": null
- }
+ "up": null,
+ },
},
{
"context": "(Editor && (showing_code_actions || showing_completions))",
"bindings": {
- "up": "editor::MoveUp"
- }
+ "up": "editor::MoveUp",
+ },
},
{
"context": "(((vim_mode == insert || vim_mode == normal) && showing_signature_help) && !showing_completions)",
"bindings": {
- "ctrl-n": null
- }
+ "ctrl-n": null,
+ },
},
{
"context": "Editor",
"bindings": {
- "ctrl-i": null
- }
+ "ctrl-i": null,
+ },
},
{
"context": "vim_mode == insert",
"bindings": {
- "ctrl-i": "editor::ShowSignatureHelp"
- }
+ "ctrl-i": "editor::ShowSignatureHelp",
+ },
},
{
"context": "(((vim_mode == insert || vim_mode == normal) && showing_signature_help) && !showing_completions)",
"bindings": {
- "ctrl-p": null
- }
+ "ctrl-p": null,
+ },
},
{
"context": "Picker > Editor",
"bindings": {
- "ctrl-p": null
- }
+ "ctrl-p": null,
+ },
},
{
"bindings": {
- "ctrl-n": null
- }
+ "ctrl-n": null,
+ },
},
{
"bindings": {
- "ctrl-p": null
- }
+ "ctrl-p": null,
+ },
},
{
"context": "Editor",
"bindings": {
- "ctrl-l": null
- }
+ "ctrl-l": null,
+ },
},
{
"context": "vim_mode == insert",
"bindings": {
- "ctrl-s": null
- }
+ "ctrl-s": null,
+ },
},
{
"context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
"bindings": {
- "space ,": "editor::ToggleCodeActions"
- }
+ "space ,": "editor::ToggleCodeActions",
+ },
},
{
"context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
"bindings": {
- "space a": null
- }
+ "space a": null,
+ },
},
{
"context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
"bindings": {
- "space g b": "editor::ToggleGitBlameInline"
- }
+ "space g b": "editor::ToggleGitBlameInline",
+ },
},
{
"context": "!ContextEditor > (Editor && (vim_mode == helix_normal || vim_mode == helix_select))",
"bindings": {
- "shift-i": "assistant::InlineAssist"
- }
+ "shift-i": "assistant::InlineAssist",
+ },
},
{
- "context": "Terminal",
+ "context": "(Terminal && (vim_mode == helix_normal || vim_mode == helix_select))",
"bindings": {
- "shift-i": "assistant::InlineAssist"
- }
+ "shift-i": "assistant::InlineAssist",
+ },
},
{
"context": "Terminal",
"bindings": {
- "ctrl-enter": null
- }
+ "ctrl-enter": null,
+ },
},
{
"context": "!ContextEditor > (Editor && mode == full)",
"bindings": {
- "ctrl-enter": null
- }
+ "ctrl-enter": null,
+ },
},
{
"context": "!menu",
"bindings": {
- "ctrl-shift-l": "workspace::ActivatePaneRight"
- }
+ "ctrl-shift-l": "workspace::ActivatePaneRight",
+ },
},
{
"context": "!menu",
"bindings": {
- "ctrl-shift-h": "workspace::ActivatePaneLeft"
- }
+ "ctrl-shift-h": "workspace::ActivatePaneLeft",
+ },
},
{
"context": "!menu",
"bindings": {
- "ctrl-shift-k": "workspace::ActivatePaneUp"
- }
+ "ctrl-shift-k": "workspace::ActivatePaneUp",
+ },
},
{
"context": "!menu",
"bindings": {
- "ctrl-shift-j": "workspace::ActivatePaneDown"
- }
+ "ctrl-shift-j": "workspace::ActivatePaneDown",
+ },
},
{
"context": "(VimControl && !menu)",
"bindings": {
- "ctrl-i": "pane::GoForward"
- }
+ "ctrl-i": "pane::GoForward",
+ },
},
{
"context": "Picker > Editor",
"bindings": {
- "ctrl-n": null
- }
+ "ctrl-n": null,
+ },
},
{
"context": "Workspace",
"bindings": {
- "ctrl-alt-shift-j": "workspace::ToggleBottomDock"
- }
+ "ctrl-alt-shift-j": "workspace::ToggleBottomDock",
+ },
},
{
"context": "Workspace",
"bindings": {
- "ctrl-j": null
- }
+ "ctrl-j": null,
+ },
},
{
"context": "Workspace",
"bindings": {
- "ctrl-alt-shift-h": "workspace::ToggleLeftDock"
- }
+ "ctrl-alt-shift-h": "workspace::ToggleLeftDock",
+ },
},
{
"context": "Workspace",
"bindings": {
- "ctrl-alt-shift-l": "workspace::ToggleRightDock"
- }
+ "ctrl-alt-shift-l": "workspace::ToggleRightDock",
+ },
},
{
"context": "Workspace",
"bindings": {
- "ctrl-b": null
- }
+ "ctrl-b": null,
+ },
},
{
"context": "Workspace",
"bindings": {
- "ctrl-alt-b": null
- }
+ "ctrl-alt-b": null,
+ },
},
{
"context": "(VimControl && !menu)",
"bindings": {
- "space g d": "editor::OpenExcerpts"
- }
+ "space g d": "editor::OpenExcerpts",
+ },
},
// {
// "context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
@@ -929,13 +929,43 @@
{
"context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
"bindings": {
- "p": "editor::Paste"
- }
+ "p": "editor::Paste",
+ },
},
{
"context": "(Editor && mode == full)",
"bindings": {
- "ctrl-h": null
- }
- }
+ "ctrl-h": null,
+ },
+ },
+ {
+ "context": "((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
+ "bindings": {
+ "space f": null,
+ },
+ },
+ {
+ "context": "EmptyPane || ((vim_mode == helix_normal || vim_mode == helix_select) && !menu)",
+ "bindings": {
+ "space f": "file_finder::Toggle",
+ },
+ },
+ {
+ "context": "!(Editor && in_snippet) && BufferSearchBar",
+ "bindings": {
+ "ctrl-f": "search::FocusSearch",
+ },
+ },
+ {
+ "context": "!(Editor && in_snippet) && KeymapEditor",
+ "bindings": {
+ "ctrl-f": "search::FocusSearch",
+ },
+ },
+ {
+ "context": "!(Editor && in_snippet) && SettingsWindow",
+ "bindings": {
+ "ctrl-f": "search::FocusSearch",
+ },
+ },
]