summaryrefslogtreecommitdiff
path: root/modules/home
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home')
-rw-r--r--modules/home/zed.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/home/zed.nix b/modules/home/zed.nix
index 940001e..0cf4233 100644
--- a/modules/home/zed.nix
+++ b/modules/home/zed.nix
@@ -153,5 +153,30 @@ in
metrics = false;
};
};
+
+ userKeymaps = [
+ {
+ context = "Pane";
+ bindings = {
+ # easy jump list (i find both vscode + vim jump list keybinds hard)
+ "alt-left" = "pane::GoBack";
+ "alt-right" = "pane::GoForward";
+ };
+ }
+ {
+ context = "Workspace";
+ bindings = {
+ # rebind from ctrl-j so the shortcut doesn't change depending on
+ # if terminal is up or not.
+ "ctrl-`" = "workspace::ToggleBottomDock";
+ };
+ }
+ {
+ context = "Editor";
+ bindings = {
+ "ctrl-alt-f" = "editor::Format";
+ };
+ }
+ ];
};
}