Updates to Zed config and keymappings
This commit is contained in:
parent
22e0452408
commit
ab5427904d
2 changed files with 123 additions and 82 deletions
|
@ -4,13 +4,23 @@
|
||||||
"cmd-o": "file_finder::Toggle"
|
"cmd-o": "file_finder::Toggle"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"context": "ProjectPanel",
|
||||||
|
"bindings": {
|
||||||
|
"shift-cmd-n": "project_panel::NewDirectory",
|
||||||
|
"cmd-n": "project_panel::NewFile",
|
||||||
|
"enter": "project_panel::Rename"
|
||||||
|
"cmd-o": "project_panel::OpenPermanent"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"context": "Pane",
|
"context": "Pane",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
||||||
"ctrl-j": ["workspace::ActivatePaneInDirection", "Right"],
|
"ctrl-j": ["workspace::ActivatePaneInDirection", "Right"],
|
||||||
"ctrl-k": ["workspace::ActivatePaneInDirection", "Up"],
|
"ctrl-k": ["workspace::ActivatePaneInDirection", "Up"],
|
||||||
"ctrl-l": ["workspace::ActivatePaneInDirection", "Down"]
|
"ctrl-l": ["workspace::ActivatePaneInDirection", "Down"],
|
||||||
|
"cmd-shift-g": "pane::RevealInProjectPanel"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -23,7 +33,17 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"context": "Editor && VimControl && !VimWaiting && !menu",
|
"context": "vim_mode == normal",
|
||||||
|
"bindings": {
|
||||||
|
"shift-y": "vim::YankLine",
|
||||||
|
"shift-d": ["workspace::SendKeystrokes", "d d"],
|
||||||
|
"-": ["workspace::SendKeystrokes", "d d p"],
|
||||||
|
"_": ["workspace::SendKeystrokes", "d d 2 k p"],
|
||||||
|
"= =": "editor::Format"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"context": "VimControl && !menu",
|
||||||
"bindings": {
|
"bindings": {
|
||||||
";": "command_palette::Toggle",
|
";": "command_palette::Toggle",
|
||||||
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
||||||
|
|
|
@ -17,16 +17,34 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"vim_mode": true,
|
"vim_mode": true,
|
||||||
|
"vim": {
|
||||||
|
"use_system_clipboard": "never"
|
||||||
|
},
|
||||||
"relative_line_numbers": true,
|
"relative_line_numbers": true,
|
||||||
"buffer_font_size": 12,
|
"buffer_font_size": 12,
|
||||||
"buffer_font_family": "Input Mono",
|
"buffer_font_family": "Input Mono",
|
||||||
|
"buffer_font_weight": 400,
|
||||||
|
"buffer_font_features": {
|
||||||
|
"calt": false,
|
||||||
|
"liga": false
|
||||||
|
},
|
||||||
"ui_font_family": "SF Pro",
|
"ui_font_family": "SF Pro",
|
||||||
"ui_font_size": 15,
|
"ui_font_size": 15,
|
||||||
"project_panel": {
|
"project_panel": {
|
||||||
"dock": "right"
|
"dock": "right"
|
||||||
},
|
},
|
||||||
"file_types": {
|
"collaboration_panel": {
|
||||||
"Python": ["bazel", "WORKSPACE"]
|
"button": false
|
||||||
|
},
|
||||||
|
"chat_panel": {
|
||||||
|
"button": false
|
||||||
|
},
|
||||||
|
"assistant": {
|
||||||
|
"version": "2",
|
||||||
|
"button": false
|
||||||
|
},
|
||||||
|
"notification_panel": {
|
||||||
|
"button": false
|
||||||
},
|
},
|
||||||
"languages": {
|
"languages": {
|
||||||
"TypeScript": {
|
"TypeScript": {
|
||||||
|
@ -47,5 +65,8 @@
|
||||||
"Make": {
|
"Make": {
|
||||||
"tab_size": 8
|
"tab_size": 8
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"features": {
|
||||||
|
"copilot": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue