diff options
| author | Mel <mel@rnrd.eu> | 2025-07-22 16:53:55 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2025-07-22 16:53:55 +0200 |
| commit | d8e369a049d96c4cb638379f92f2baeb707d685a (patch) | |
| tree | f7fefd3da6893ae63c520355b00e0645a617faca /modules/home | |
| parent | 392ad01b2bd4d18070334b3972853f3c201bf657 (diff) | |
| download | minerals-d8e369a049d96c4cb638379f92f2baeb707d685a.tar.zst minerals-d8e369a049d96c4cb638379f92f2baeb707d685a.zip | |
Remap some Zed keybinds for convenience
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'modules/home')
| -rw-r--r-- | modules/home/zed.nix | 25 |
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"; + }; + } + ]; }; } |
