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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"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",
|
||||
"bindings": {
|
||||
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
||||
"ctrl-j": ["workspace::ActivatePaneInDirection", "Right"],
|
||||
"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": {
|
||||
";": "command_palette::Toggle",
|
||||
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
|
||||
|
|
|
@ -17,16 +17,34 @@
|
|||
}
|
||||
},
|
||||
"vim_mode": true,
|
||||
"vim": {
|
||||
"use_system_clipboard": "never"
|
||||
},
|
||||
"relative_line_numbers": true,
|
||||
"buffer_font_size": 12,
|
||||
"buffer_font_family": "Input Mono",
|
||||
"buffer_font_weight": 400,
|
||||
"buffer_font_features": {
|
||||
"calt": false,
|
||||
"liga": false
|
||||
},
|
||||
"ui_font_family": "SF Pro",
|
||||
"ui_font_size": 15,
|
||||
"project_panel": {
|
||||
"dock": "right"
|
||||
},
|
||||
"file_types": {
|
||||
"Python": ["bazel", "WORKSPACE"]
|
||||
"collaboration_panel": {
|
||||
"button": false
|
||||
},
|
||||
"chat_panel": {
|
||||
"button": false
|
||||
},
|
||||
"assistant": {
|
||||
"version": "2",
|
||||
"button": false
|
||||
},
|
||||
"notification_panel": {
|
||||
"button": false
|
||||
},
|
||||
"languages": {
|
||||
"TypeScript": {
|
||||
|
@ -47,5 +65,8 @@
|
|||
"Make": {
|
||||
"tab_size": 8
|
||||
}
|
||||
},
|
||||
"features": {
|
||||
"copilot": false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue