update zed zed config

This commit is contained in:
Alexander Navarro 2024-10-28 08:20:34 -03:00
parent 860321f63e
commit 6af792a0e9
Signed by untrusted user who does not match committer: anavarro
GPG key ID: 6426043E9FA3E3B5
3 changed files with 16 additions and 16 deletions

View file

@ -32,6 +32,12 @@
"ctrl-l": "editor::ContextMenuNext"
}
},
{
"context": "Editor && (vim_mode == normal || vim_mode == insert)",
"bindings": {
"ctrl-shift-v": "editor::Paste"
}
},
{
// move context menus with Ctrl + hjkl in menus
"context": "Picker || menu",
@ -43,8 +49,10 @@
}
},
{
"context": "Editor && vim_mode == normal && !VimWaiting && !menu",
"context": "Editor && VimControl && !VimWaiting && !menu",
"bindings": {
"|": "pane::SplitVertical",
// Window movement bindings
// Ctrl jklk to move between panes
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
@ -106,7 +114,7 @@
},
// Empty pane, set of keybindings that are available when there is no active editor
{
"context": "EmptyPane || SharedScreen",
"context": "(EmptyPane || SharedScreen) && vim_mode != insert",
"bindings": {
// Open file finder
"space f f": "file_finder::Toggle",
@ -117,8 +125,7 @@
{
"context": "Workspace",
"bindings": {
"ctrl-t": "terminal_panel::ToggleFocus",
"space e": "workspace::ToggleLeftDock"
"ctrl-t": "terminal_panel::ToggleFocus"
}
},
{
@ -149,7 +156,8 @@
"ctrl-h": ["workspace::ActivatePaneInDirection", "Left"],
"ctrl-l": ["workspace::ActivatePaneInDirection", "Right"],
"ctrl-k": ["workspace::ActivatePaneInDirection", "Up"],
"ctrl-j": ["workspace::ActivatePaneInDirection", "Down"]
"ctrl-j": ["workspace ::ActivatePaneInDirection", "Down"],
"space e": "workspace::ToggleLeftDock"
}
},
// Panel nagivation

View file

@ -59,5 +59,8 @@
"search_results": true,
"selected_symbol": true,
"diagnostics": true
},
"command_aliases": {
"q": "pane: close all items"
}
}