diff options
| author | Xian Wang <dev@xianwang.io> | 2025-10-10 11:27:48 -0700 |
|---|---|---|
| committer | Xian Wang <dev@xianwang.io> | 2025-10-10 11:27:48 -0700 |
| commit | 52cc55349532d409919079a5153ef6aad699004d (patch) | |
| tree | 3df6c6aa5b19f66f5479fad262c014dba299de5d | |
| parent | 3e5f9217fbbb1f5b1dc55f6ca5e1e2917626a464 (diff) | |
| download | dotfiles-52cc55349532d409919079a5153ef6aad699004d.tar.gz dotfiles-52cc55349532d409919079a5153ef6aad699004d.tar.bz2 dotfiles-52cc55349532d409919079a5153ef6aad699004d.zip | |
zed: settings
Signed-off-by: Xian Wang <dev@xianwang.io>
| -rw-r--r-- | config/zed/keymap.json | 34 | ||||
| -rw-r--r-- | config/zed/settings.json | 1 | ||||
| -rw-r--r-- | install.conf.yaml | 4 |
3 files changed, 39 insertions, 0 deletions
diff --git a/config/zed/keymap.json b/config/zed/keymap.json new file mode 100644 index 0000000..f290941 --- /dev/null +++ b/config/zed/keymap.json @@ -0,0 +1,34 @@ +// Zed keymap +// +// For information on binding keys, see the Zed +// documentation: https://zed.dev/docs/key-bindings +// +// To see the default key bindings run `zed: open default keymap` +// from the command palette. +[ + { + "context": "Editor && edit_prediction", + "bindings": { + "alt-l": "editor::AcceptEditPrediction" + } + }, + // Bind `tab` back to its original behavior. + { + "context": "Editor", + "bindings": { + "tab": "editor::Tab" + } + }, + { + "context": "Editor && showing_completions", + "bindings": { + "tab": "editor::ComposeCompletion" + } + }, + { + "context": "Terminal", + "bindings": { + "ctrl-r": ["terminal::SendKeystroke", "ctrl-r"] + } + } +] diff --git a/config/zed/settings.json b/config/zed/settings.json index 082df3a..908b205 100644 --- a/config/zed/settings.json +++ b/config/zed/settings.json @@ -30,6 +30,7 @@ "dark": "Tokyo Night" }, "terminal": { + "dock": "right", "font_size": 11, "font_family": "Intel One Mono" } diff --git a/install.conf.yaml b/install.conf.yaml index ddd66fa..240decd 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -17,6 +17,10 @@ create: true force: true path: config/zed/settings.json + ~/.config/zed/keymap.json: + create: true + force: true + path: config/zed/keymap.json ~/.gitconfig: force: true path: gitconfig |
