mirror of
https://github.com/librephoenix/nixos-config
synced 2025-11-30 14:43:59 +05:30
Some more zed keybinds
This commit is contained in:
parent
f6cb4d5222
commit
cd339f647c
1 changed files with 20 additions and 2 deletions
|
|
@ -100,6 +100,8 @@ in {
|
||||||
context = "";
|
context = "";
|
||||||
bindings = {
|
bindings = {
|
||||||
"alt-x" = "command_palette::Toggle";
|
"alt-x" = "command_palette::Toggle";
|
||||||
|
"alt-z" = "terminal_panel::Toggle";
|
||||||
|
"alt-d" = "debug_panel::ToggleFocus";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
@ -129,21 +131,37 @@ in {
|
||||||
"ctrl-l" = "workspace::ActivatePaneRight";
|
"ctrl-l" = "workspace::ActivatePaneRight";
|
||||||
"ctrl-j" = "workspace::ActivatePaneDown";
|
"ctrl-j" = "workspace::ActivatePaneDown";
|
||||||
"ctrl-k" = "workspace::ActivatePaneUp";
|
"ctrl-k" = "workspace::ActivatePaneUp";
|
||||||
"space w d" = "pane::CloseActiveItem";
|
"ctrl-w" = "pane::CloseActiveItem";
|
||||||
|
"space w d" = "pane::CloseAllItems";
|
||||||
|
"space b d" = "pane::CloseActiveItem";
|
||||||
"space b p" = "panel::PreviousPanelTab";
|
"space b p" = "panel::PreviousPanelTab";
|
||||||
"space b n" = "panel::NextPanelTab";
|
"space b n" = "panel::NextPanelTab";
|
||||||
|
"space b i" = "tab_switcher::ToggleAll";
|
||||||
|
"ctrl-i" = "tab_switcher::ToggleAll";
|
||||||
|
"alt-p" = [ "tab_switcher::Toggle" { "select_last" = true; }];
|
||||||
|
"alt-n" = "tab_switcher::Toggle";
|
||||||
"alt-z" = "terminal_panel::Toggle";
|
"alt-z" = "terminal_panel::Toggle";
|
||||||
|
"alt-d" = "debug_panel::ToggleFocus";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
context = "Terminal";
|
context = "Terminal";
|
||||||
bindings = {
|
bindings = {
|
||||||
|
"ctrl-w" = "pane::CloseActiveItem";
|
||||||
"alt-z" = "terminal_panel::Toggle";
|
"alt-z" = "terminal_panel::Toggle";
|
||||||
|
"alt-d" = "debug_panel::ToggleFocus";
|
||||||
|
"ctrl-i" = "tab_switcher::ToggleAll";
|
||||||
|
"alt-p" = [ "tab_switcher::Toggle" { "select_last" = true; }];
|
||||||
|
"alt-n" = "tab_switcher::Toggle";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
"context" = "Editor && vim_mode == insert";
|
"context" = "Editor && vim_mode == insert";
|
||||||
"bindings" = {};
|
"bindings" = {
|
||||||
|
"ctrl-w" = "pane::CloseActiveItem";
|
||||||
|
"alt-z" = "terminal_panel::Toggle";
|
||||||
|
"alt-d" = "debug_panel::ToggleFocus";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
programs.zed-editor.userTasks = [
|
programs.zed-editor.userTasks = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue