Last active
January 26, 2025 12:28
-
-
Save chamara-senarath/d2a2a96c4f1a619044255c09cefc9662 to your computer and use it in GitHub Desktop.
Zed keymap.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "context": "Editor", | |
| "bindings": { | |
| "cmd-l": "editor::ToggleFold", | |
| "cmd-[": "pane::GoBack", | |
| "cmd-]": "pane::GoForward" | |
| } | |
| }, | |
| { | |
| "context": "Workspace", | |
| "bindings": { | |
| "cmd-j": "workspace::ToggleBottomDock", | |
| "cmd-0": "branches::OpenRecent", | |
| "cmd-9": ["task::Spawn", { "task_name": "git pull" }], | |
| "cmd-g": ["task::Spawn", { "task_name": "start lazygit" }] | |
| } | |
| }, | |
| { | |
| "context": "Terminal", | |
| "bindings": { | |
| "cmd-t": "workspace::NewTerminal" | |
| } | |
| }, | |
| { | |
| "context": "vim_mode == insert", | |
| "bindings": { | |
| "j k": "vim::NormalBefore" | |
| } | |
| }, | |
| { | |
| "context": "ProjectPanel && not_editing", | |
| "bindings": { | |
| "h": "project_panel::CollapseSelectedEntry", | |
| "l": "project_panel::ExpandSelectedEntry", | |
| "j": "menu::SelectNext", | |
| "k": "menu::SelectPrev", | |
| "o": "menu::Confirm", | |
| "r": "project_panel::Rename", | |
| "z c": "project_panel::CollapseSelectedEntry", | |
| "z o": "project_panel::ExpandSelectedEntry", | |
| "x": "project_panel::Cut", | |
| "c": "project_panel::Copy", | |
| "p": "project_panel::Paste", | |
| "d": "project_panel::Delete", | |
| "a": "project_panel::NewFile", | |
| "shift-a": "project_panel::NewDirectory", | |
| "shift-y": "project_panel::CopyRelativePath", | |
| "g y": "project_panel::CopyPath" | |
| } | |
| } | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment