dotfiles
- 28 commits
- 1 branch
- 0 tags
- updated
- CI 1/1
keymap.json
1.2 KB · 38 lines
1[2 {3 "context": "Workspace",4 "bindings": {5 "shift shift": "file_finder::Toggle",6 "cmd-1": "project_panel::ToggleFocus",7 "cmd-2": "git_panel::ToggleFocus",8 "cmd-3": "outline_panel::ToggleFocus",9 "cmd-4": "pane::DeploySearch",10 "cmd-5": "workspace::NewCenterTerminal",11 "cmd-r": "agent::Toggle",12 },13 },14 {15 "context": "Editor && vim_mode == insert",16 "bindings": {17 "shift shift": "file_finder::Toggle",18 "cmd-1": "project_panel::ToggleFocus",19 "cmd-2": "git_panel::ToggleFocus",20 "cmd-3": "outline_panel::ToggleFocus",21 "cmd-4": "pane::DeploySearch",22 "cmd-5": "workspace::NewCenterTerminal",23 "cmd-r": "agent::ToggleFocus",24 },25 },26 {27 // The git panel binds its own cmd-1 / cmd-2 to its Changes / History tabs,28 // which beats the Workspace bindings above. Put them back to panel switching29 // and move the tabs to cmd-{ / cmd-} (the keys Zed uses to switch editor tabs).30 "context": "GitPanel",31 "bindings": {32 "cmd-1": "project_panel::ToggleFocus",33 "cmd-2": "git_panel::ToggleFocus",34 "cmd-{": "git_panel::ActivateChangesTab",35 "cmd-}": "git_panel::ActivateHistoryTab",36 },37 },38]